Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Kubuntu and newest eclipse PDT folding problem
Kubuntu and newest eclipse PDT folding problem [message #14217] Tue, 17 April 2007 13:22 Go to next message
Eclipse UserFriend
Originally posted by: lainlog.gmail.com

Hi, i don't know if it is the right place to post about it but i've tried
on ubuntu forum and i got no answers....

I have newest KUbuntu with all updates and java 1.6
java -version returns
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)

I downloaded all in one PDT from project site, eclipse seems to be working
well, but i installed subclipse and checked project from repository.
Everything went well but when I open file with class (php code) there is
no folding... the space for graphical folding signs is reserved but it
doesn't work - I checked if folding is enabled and it is.... does somebody
know the problem....

I must remark that i am not the only one who has this problem...

Best Regards,
Alicja
Re: Kubuntu and newest eclipse PDT folding problem [message #14264 is a reply to message #14217] Tue, 17 April 2007 19:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nick.commcarepharmacy.com

And I have the same exact problem in windows... No Folding -- but space
is reserved for "+" on left column of editor. I also have subclipse
installed, but this problem was present prior to subclipse install...

Alicja wrote:
> Hi, i don't know if it is the right place to post about it but i've
> tried on ubuntu forum and i got no answers....
>
> I have newest KUbuntu with all updates and java 1.6
> java -version returns
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
>
> I downloaded all in one PDT from project site, eclipse seems to be
> working well, but i installed subclipse and checked project from
> repository. Everything went well but when I open file with class (php
> code) there is no folding... the space for graphical folding signs is
> reserved but it doesn't work - I checked if folding is enabled and it
> is.... does somebody know the problem....
>
> I must remark that i am not the only one who has this problem...
>
> Best Regards,
> Alicja
>
Re: Kubuntu and newest eclipse PDT folding problem [message #14299 is a reply to message #14264] Tue, 17 April 2007 21:35 Go to previous messageGo to next message
Adam Randall is currently offline Adam RandallFriend
Messages: 19
Registered: July 2009
Junior Member
On Tue, 17 Apr 2007 15:09:40 -0400
Nick Saraniti <nick@commcarepharmacy.com> wrote:

> And I have the same exact problem in windows... No Folding -- but space
> is reserved for "+" on left column of editor. I also have subclipse
> installed, but this problem was present prior to subclipse install...
>
> Alicja wrote:
> > Hi, i don't know if it is the right place to post about it but i've
> > tried on ubuntu forum and i got no answers....
> >
> > I have newest KUbuntu with all updates and java 1.6
> > java -version returns
> > java version "1.6.0"
> > Java(TM) SE Runtime Environment (build 1.6.0-b105)
> > Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
> >
> > I downloaded all in one PDT from project site, eclipse seems to be
> > working well, but i installed subclipse and checked project from
> > repository. Everything went well but when I open file with class (php
> > code) there is no folding... the space for graphical folding signs is
> > reserved but it doesn't work - I checked if folding is enabled and it
> > is.... does somebody know the problem....
> >
> > I must remark that i am not the only one who has this problem...
> >
> > Best Regards,
> > Alicja
> >

I am running Ubuntu (6.10) with Eclipse 3.2.2 and the nightly PDT installed (though I have run the stable releases as well). Additionally, I have the latest version of Subclipse installed. When I checkout a repository using Subclipse I select the project to be PHP Project. Everything comes in correctly, and my files ending with .php fold just fine. I'm running Java 6 (1.6.x).

I've also run this setup on Windows with no issues at all. In all cases, I've never used the all in one Eclipse, but rather opted to use the standard Eclipse SDK and installed the necessary components as necessary.

Opening files with functions and classes all have the correct folding options.

Adam.

--
Adam Randall adam@lockdownnetworks.com
Senior Software Engineer (866) 844-8080
Lockdown Networks, Inc.
Re: Kubuntu and newest eclipse PDT folding problem [message #15223 is a reply to message #14299] Wed, 18 April 2007 13:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nick.commcarepharmacy.com

How do you change a project "Type"? This may be the problem since I am
using the working directory from a previous install of Eclipse

Adam Randall wrote:
> On Tue, 17 Apr 2007 15:09:40 -0400
> Nick Saraniti <nick@commcarepharmacy.com> wrote:
>
>> And I have the same exact problem in windows... No Folding -- but space
>> is reserved for "+" on left column of editor. I also have subclipse
>> installed, but this problem was present prior to subclipse install...
>>
>> Alicja wrote:
>>> Hi, i don't know if it is the right place to post about it but i've
>>> tried on ubuntu forum and i got no answers....
>>>
>>> I have newest KUbuntu with all updates and java 1.6
>>> java -version returns
>>> java version "1.6.0"
>>> Java(TM) SE Runtime Environment (build 1.6.0-b105)
>>> Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
>>>
>>> I downloaded all in one PDT from project site, eclipse seems to be
>>> working well, but i installed subclipse and checked project from
>>> repository. Everything went well but when I open file with class (php
>>> code) there is no folding... the space for graphical folding signs is
>>> reserved but it doesn't work - I checked if folding is enabled and it
>>> is.... does somebody know the problem....
>>>
>>> I must remark that i am not the only one who has this problem...
>>>
>>> Best Regards,
>>> Alicja
>>>
>
> I am running Ubuntu (6.10) with Eclipse 3.2.2 and the nightly PDT installed (though I have run the stable releases as well). Additionally, I have the latest version of Subclipse installed. When I checkout a repository using Subclipse I select the project to be PHP Project. Everything comes in correctly, and my files ending with .php fold just fine. I'm running Java 6 (1.6.x).
>
> I've also run this setup on Windows with no issues at all. In all cases, I've never used the all in one Eclipse, but rather opted to use the standard Eclipse SDK and installed the necessary components as necessary.
>
> Opening files with functions and classes all have the correct folding options.
>
> Adam.
>
Re: Kubuntu and newest eclipse PDT folding problem [message #15384 is a reply to message #15223] Wed, 18 April 2007 16:52 Go to previous messageGo to next message
Adam Randall is currently offline Adam RandallFriend
Messages: 19
Registered: July 2009
Junior Member
On Wed, 18 Apr 2007 09:31:44 -0400
Nick Saraniti <nick@commcarepharmacy.com> wrote:

> How do you change a project "Type"? This may be the problem since I am
> using the working directory from a previous install of Eclipse

I don't believe it's possible to change a project type. Just delete the project and create it again using PHP Project from the drop down. When it asks you to delete the files, don't. Also, if you use the same path as your last project, it'll import all the existing files that were there into the project as it's created.

The workspace itself is not your project, btw, it's the container for your projects.

ADam.

--
Adam Randall adam@lockdownnetworks.com
Senior Software Engineer (866) 844-8080
Lockdown Networks, Inc.
Re: Kubuntu and newest eclipse PDT folding problem [message #15416 is a reply to message #15384] Wed, 18 April 2007 17:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nick.commcarepharmacy.com

That worked... Thank You!

For anyone who's interested, make sure that there is a "P" above/next to
the folder in front of the project name.. Once it's there (designating a
PHP project) code folding works...

Any chance to be able to fold if/else statements or While Loops?


Adam Randall wrote:
> On Wed, 18 Apr 2007 09:31:44 -0400
> Nick Saraniti <nick@commcarepharmacy.com> wrote:
>
>> How do you change a project "Type"? This may be the problem since I am
>> using the working directory from a previous install of Eclipse
>
> I don't believe it's possible to change a project type. Just delete the project and create it again using PHP Project from the drop down. When it asks you to delete the files, don't. Also, if you use the same path as your last project, it'll import all the existing files that were there into the project as it's created.
>
> The workspace itself is not your project, btw, it's the container for your projects.
>
> ADam.
>
Re: Kubuntu and newest eclipse PDT folding problem [message #15645 is a reply to message #15416] Thu, 19 April 2007 13:47 Go to previous message
Eclipse UserFriend
Originally posted by: lainlog.gmail.com

Ok, so my great friend advised me to [install|back to] java 1.5 because
Eclipse doesn't really like newest java - so i did and everything works
fine now :)

Thanks Piotr :)
Previous Topic:debuging from mozilla with zend eclipse plugin
Next Topic:Zend Debugger v5.2.1 and php 4.4.4 > Error
Goto Forum:
  


Current Time: Fri Apr 26 13:55:19 GMT 2024

Powered by FUDForum. Page generated in 0.04000 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top