PHPEclipse Questions

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Did you install the debugger? If so, do you install the listener AND the modules, or just one of the two?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Case- wrote:For the auto complete menu, try to hit Ctrl+Space.
I tried this and got
org.eclipse.ui.internal.editors.text.JavaFileEditorInput
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Ok, what the crap?! Why is it that whenever I open a file from the Eclipse file browser that it opens in Eclipse, then opens Zend Studio like three times over?

PS I really like Eclipse.
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

How much does it cost?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

ole wrote:How much does it cost?
$0, £0, Zero, zilch, free.
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Sweeet. I gotta look into this.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

While reading some of the docs, it is mentioned that PHPEclipse only works right with Eclipse 3.1. The current release is 3.2, which is what I used at work. I downloaded 3.2 and 3.1 last night and will give them a go, but the way things worked at work, I would sugest loading 3.1 and not 3.2.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Zend's PHPIDE works fine with 3.2.x here.

http://www.zend.com/phpide
User avatar
Case-
Forum Newbie
Posts: 22
Joined: Fri Aug 04, 2006 5:52 am
Location: Finland

Post by Case- »

The phpeclipse works fine with 3.2.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Case- wrote:The phpeclipse works fine with 3.2.
Using 3.2.1 but no workey for the auto-complete. I've tried this on Linux and on a Mac but not on windows.
User avatar
Case-
Forum Newbie
Posts: 22
Joined: Fri Aug 04, 2006 5:52 am
Location: Finland

Post by Case- »

d11wtq wrote:
Case- wrote:The phpeclipse works fine with 3.2.
Using 3.2.1 but no workey for the auto-complete. I've tried this on Linux and on a Mac but not on windows.
Ok, dont remember that I used auto complete.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Jenk wrote:Zend's PHPIDE works fine with 3.2.x here.

http://www.zend.com/phpide
I didn't use the Zend PHPIDE. I have Zend Studio, then began using Eclipse. There is a setting (project root) in the projects setting, that, if it not the same as the location of the files you are working, it uses your app associated with the file type you are working with instead of Eclipse. I found that on the PHPEclipse forums. I changes that setting and shebang, all works fine.

And I have to say that I think I am going to be abandoning Zend Studio in favor of Eclipse. Eclipse just plain blows it out of the water.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

WTF? I have The zend IDE installed in Eclipse but every time I open *any* file from the eclipse menu, gEdit opens the file, not Eclipse. It's literally impossible for me to open a file in Eclipse. This is a new install under Ubuntu.

Any clues? It's nothing to do with Zend's IDE neither since this was happening before I installed it. I installed it in the hope it would fix this issue. JS files do the same thing.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

gEdit has stolen the file associations, by the sounds of it. It'll be a Gnome config option somewhere.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

gedit is the default editor on Ubuntu under Gnome. I believe the settings in Eclipse are actually to blame - go into preferences and check the file associations. Chances are, the PHP extension is set to the default system editor rather than Eclipse itself. Remember Eclipse can be configured to open project files with an external editor and it usually does just that for add-ons like php-eclipse or Zend's phpide.
Post Reply