views:

5039

answers:

8

Is there any truth to the rumor that Visual Studio 2010 will natively support PHP coding?

(http://www.codeplex.com/php4vs)

If not,what are the options?(except VS.php)

+10  A: 

Visual Studio 2010 won't have native PHP support. However, it's "relatively easy" to add some language support to Visual Studio 2010. If all you want is syntax highlighting, auto comment/uncomment, and brace matching, it could be done in one sitting by someone who knows how the new extensibility model works.

After you wrote this post, I started making an add-in to show you what I mean. I downloaded the WordPress source only to note that the .php extension is registered with Expression Web 3, which does support PHP (first image).

My 15 minute attempt at an extension (second image) is not as impressive, but keep in mind I started working on it after I answered this question. Edit: Updated to color keywords/global functions/global objects separately.

Microsoft Expression Web for PHP

My PHP extension for Visual Studio 2010

280Z28
What about intellisense?
Balchev
IntelliSense is a whole different game - extremely difficult to say the least.
280Z28
+1  A: 

It is not true that VS 2010 will natively support Php.

AFAIK the only options are vs.php and vs.php. ;)

jfar
from my experience, vs.php is not an option either :(
womp
vs.php works for small projects, but acts funny and buggy with large project It can be just me, but still is better when there is more then one choice
Balchev
+1  A: 

As far as large projects, VS.Php 2.7 improved quite a bit in handling large projects (10000+ files)

Give it a try and let me know,

Juan

www.jcxsoftware.com

VS.Php
I love VS.PHP I use it for all of my windows based development.
Unkwntech
A: 

the best solution for true php projects whether small or large is "Zend Studio".

masterp
I tried 7.0, but it is heavy and slow.Which is normal since is build over eclipse platform.Visual Studio is lighting fast compared to Zend Studio.
Balchev
+4  A: 

Check out CodeLobster php, it's free and has a very similar look and feel to visual studio plus it has IntelliSense and debugging support.

Crackerjack
+1 for the link. Thanks :)
Chris
A: 

One of my projects has over 30,000 files, that includes however images and other items, in total about 12,000 php and js scripts, VS.php looked at it and barfed. Back to netbeans for now. Netbeans is amazing in what it does including the js support but I HATE java based apps. They are way too slow and fat.

Nitecon
A: 

Just use Komodo, they have both free and commercial IDE

BlackLeather
A: 

komodo is the best multi platform free version out there...

jd-