Page 1 of 1

Eclipse questions?

Posted: Tue Oct 13, 2009 3:29 pm
by alex.barylski
I started using Eclipse a while back as a side editor and to try it out...while I love the interactive debugger and other features some parts had me quesitoning it's approach.

Ideally I want an editor that allows me to browse the entire source tree and select/refactor methods, members, etc.

I could not for the love of me figure out how to add existing source tree (about 1000 files) into a project and then generate the browsing information.

Secondly, I could not figure out how to colorize a PHP source file which did not end in .php extension -- something I do frequently when working on client code.

Does anyone know of a tutorial or would care to explain how I would accomplish these two feats?

Cheers,
Alex

Re: Eclipse questions?

Posted: Tue Oct 13, 2009 4:23 pm
by Christopher
PCSpectra wrote:I could not for the love of me figure out how to add existing source tree (about 1000 files) into a project and then generate the browsing information.
You can either just copy them into the workspace with a file manager or use the import option (right click on the project). The use the Refresh option.
PCSpectra wrote:Secondly, I could not figure out how to colorize a PHP source file which did not end in .php extension -- something I do frequently when working on client code.
Maybe Window > Preferences > General > Editors > File Associations ?

Re: Eclipse questions?

Posted: Tue Oct 13, 2009 11:56 pm
by alex.barylski
Cool man, thanks for the reply...I was actually thinking it would be you that replied.

I eventually want to release this project I'm working on as open source and figure Eclipse would be a good standard editor me and everyone else can use.

I couldn't get a workspace created or add files to the projects, it would seem, because I was trying to use a samba shared drive and had not yet authenticated so it would always fail.

Now I have that figured out it was a simple matter of importing my existing project files and now I have a much nicer IDE...it's pretty sweet eh? :)

Thanks again :)

Cheers,
Alex