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)
PHP in Visual Studio Code. Visual Studio Code is a great editor for PHP development. You get features like syntax highlighting and bracket matching, IntelliSense (code completion), and snippets out of the box and you can add more functionality through community-created VS Code extensions.
Visual Studio 2010 and earlier versions are no longer supported.
Configuring VS Code To Run PHP Code Go to File -> Preferences -> Settings. 2. Add the following JSON to the User Settings on the Right Hand Side of the IDE. Replacing C:\\xampp\\php\\ with your path to your php.exe.
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.
(source: 280z28.org)
(source: 280z28.org)
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With