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)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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)