PHP 5.3 Syntax Highlighting Follow
I've been going through PhpStorm and while I love it, there's missing highlighting options for php 5 and 5.3 functionality, some examples would be method scopes (public, private, protected, static) and namespace management (use namespace, and defining namespaces).
Are there any plans to incorporate this in PhpStorm at some point?
Thanks and Best Regards,
 On that note it doesn't seem to have any support for namespaces in completion either.
Please sign in to leave a comment.
The beta has namespace support. Though I have not played with it much. Hopefully 2.0 will be out soon.
PhpStorm v1 does not have any support for namespaces.
PhpStorm v2 EAP builds do have namespaces support (the work is still in progress though). You can try such build here: http://confluence.jetbrains.net/display/WI/Web+IDE+EAP
PhpStorm does not have highlighting per scopes (unlike NetBeans) and currently it is not on a list for future versions. You can check and fill your own feature request on Issue Tracker.
Thanks for the replies - I'm using 2.0 and I do see the namespace support now... I'm on the fence about PhpStorm in it's entirety unfortunately due to some strange performance mishaps I've been having (occasional lockups etc)
What's your OS, JDK version? How did you setup your project (is it local or remote via FTP), any VCS etc? Please provide some details.
Setup: all files are local in a subdirectory of my home directory
My computer isn't the best, core2duo 1.86 ghz/4GB RAM and I tend to do quite a few operations at once to the point every resource on my computer is near max - but that really hasn't been an issue when under another IDE such as netbeans so I'm not sure what it might be that's causing PhpStorm to act like this.
Another issue that's frustrating me is typed characters are showing up multiple times or out of order or a random combination of the two under PhpStorm (say i type $data, it's typed $atadata) and it keeps doing that, i get variations of things i type, $this becomes $ihts etc... I thought at first it was me making typos however after carefully monitoring my typing and watching the screen I saw the difference..
it's worth noting it's never misplaced the $ making me believe that something with autocomplete is causing the IDE to become temporarily overwhelmed and messing with it's buffer..
I have Windows 7 x32; 3GB RAM, Intel Core2 Duo E6400 (2.13GHz), KIS 2011 -- and I never experienced anything like that myself (but I'm not stressing my PC that much as you said you do). Possibly it is x64 specific issue...
Do you have any extra plugins installed? (I really doubt that this will help -- but try and disable those that are not used)
It would be great if you could record that behavior somehow (like, using Free version of TechSmith Jing) and report it to the Issue tracker: http://youtrack.jetbrains.net/issues/WI. The CPU snapshots taken during such times (if you can, of course -- there is a special button on toolbar) may help as well (they should be at least 30secs long and you can attach them to the ticket so the only JB team will see them).
I can see what I can do later - I have to head out shortly... I haven't added in any plugins but I can certainly clean up the default interface some. Thanks for the help so far, I appreciate it - The problem will be hard to record/find because of the typical stress on the computer as a baseline as one factor - but also because it happens fairly randomly.
How large are your files (lines)? I've had trouble with files over 4K lines.
500 or so at most, but I do work in projects with thousands of files
I'm getting good performance on the newest EAP if i scale back my overall CPU usage just a tiny bit, I've found a few bugs which I'll submit the issue tracker, and I've bought a license of PHPStorm, Thanks again :)