[56K WARN] 10 things a PHP IDE has to have

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
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

[56K WARN] 10 things a PHP IDE has to have

Post by MrPotatoes »

http://www.hiveminds.co.uk/node/2911

all i want to add is a full PHP parser.

man, that would be nice. all that and open source would be fantastic.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

The Eclipse IDE run the script through the PHP parser and mark lines with errors.
(#10850)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Both Zend Studio and Eclipse can parse PHP from the IDE. Zend Studio outputs the code as HTML which you can right click and, screw it, it really isn't worth it. Eclipse rocks, Zend Studio blows. Get Eclipse and live happy. :D
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

UE Studio 6 won me over finally.

http://www.ultraedit.com/index.php?name=Content&pid=150

I was a die hard Homesite user because it did things I wanted. But with UE Studio 6 I could configure it to display the code exactly like Homesite and do most of the things Homesite did. Plus it is nice and fast with the features I needed.

It even lets you edit the word file that contains the syntax coloring and other information for the different languages. :D I am currently creating an addition to the UE Studio 6 wordfile that supports Template Lite/Smarty syntax highlighting. I mean you can't go wrong with it. I was stubborn about changing but the features just won me over.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

AKAPJ does it offer multiple file resource tabs like HS does? That and something with the robust features of 'Extended Find and Replace' are the only things keeping me tied to HS.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Seems pretty cool. It is going to be one tough sell getting me away from Eclipse though. But it is cool.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Burrito wrote:AKAPJ does it offer multiple file resource tabs like HS does? That and something with the robust features of 'Extended Find and Replace' are the only things keeping me tied to HS.
No it doesn't have multiple resource tabs like Homesite. That one bugged me a little but I got over it.

And the 'Extended Find and Replace' in Homesite was a HUGE feature that was any IDE had to have. All of the others I looked at didn't have the ability to search and replace inside of every file inside directories and sub-directories. I wouldn't have changed to any other editor if it was missing.

UE Studio 6 has 'Find in Files' and 'Replace in Files' that works the same as Homesite but with a few extra abilities. Like I said that was one of the top items that had to be in any editor since I make a large number of changes that need that ability.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I know I sound like an Eclipse Evangelist, but it does the Find in <file, files, project, workspace> and replace, using Regular Expressions if you wish. Now if I could get it to handle TL templates, in a workable fashion, that would be something. It does understand .tpl extensions, and it seems to syntax highlight them in some fashion, but it feels like it needs something.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Well, I am working on a TL wordfile addition so everything is highlighted better. :)

And here is the search and replace in files popup. The search in files is basically the same thing.

Image
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

The must have's for me are not as intricate as that in the blog; mine are simply:

1. Sensible Project management - this is satisfied by as alittle as an in-IDE directory browser.

2. Syntax highlighting (with customisation.)

3. Tabs for files.

4. File and Directory browser/explorer (ref point 1.)

that's about it.

The debuggers I never use, they annoy me for some reason, and I much prefer to see the "error at line 123" which is all I ever use anyway when I do use debuggers, such as Visual Studio stuff. I don't even use step-throughs.

Intellisense really, really irritates me. Often causes sluggishness (particularly in Eclipse) and having that dropdown list and autocomplete flicking away as I type more char's gives me a headache. Though I do like the run-time phpdoc/javadoc parsing that Eclipse has, for parameter hinting/reminding if nothing else.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

I would love intellisense if it worked properly but it can't ever find the thing that I want to use. I think that the intellisense in Visual Studio 8 is great, though! I really would just like intellisense that gives me a list of parameters for a function name I've typed. I hate having to remember that crap especially when half of php's function are $haystack, $needle and the other half are $needle, $haystack.
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

Daedalus- wrote:I really would just like intellisense that gives me a list of parameters for a function name I've typed.
Zend does an ok job here, I think. Not only for native functions, but custom class methods as well.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I really enjoy using Zend IDE. Especially considering it is smart enough to intellisense custum class methods and such throughout the projects. When dealing with hundreds of views, models, and controllers this saved me a few clicks on double checking things manually.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

I can't stand zend studio but i forget why. it was missing a feature that i liked.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Jcart wrote:I really enjoy using Zend IDE. Especially considering it is smart enough to intellisense custum class methods and such throughout the projects. When dealing with hundreds of views, models, and controllers this saved me a few clicks on double checking things manually.
I can't find this for linux... is it not available? All I could find was PHPEclipse which isn't as good IMO
Post Reply