Reputation: 571
I'm deving PHP at the moment using Visual Studio as my IDE. I've installed the Phalanger Visutal studio integration to get PHP projects etc but I want VS to recognise the PHP start and end tags like the standard ASP ones.
i.e when I type <% %
> into the html editor, I want the PHP tags to behave the same <? ?>
I've fiddled in the "Tag Specific Options" and created a tag called ?, but it shows the closing tag wrong, like <? /?>
Can it be done?
Cheers
Tim
Upvotes: 0
Views: 715
Reputation: 168
You can also try PHP Tools for Visual Studio. Phalanger integration now is also built on top of it.
Upvotes: 2
Reputation: 15045
Is there some specific reason you have to use VS? If not, I'd highly recommend you try Eclipse with PDP, Netbeans, or Aptana. All three are excellent free IDE's for PHP that are extensible and offer versions specifically tailored to PHP development.
I do work in .Net and agree VS is an excellent IDE, but the alternatives listed above are equally feature rich and better tailored to coding in PHP.
Upvotes: 0
Reputation:
I guess I don't really think of Visual Studio is a good place to code PHP, but maybe that's just me. I would much rather use DreamWeaver, or even Notepad++ (free) which does syntax highlighting, and more.
Is there a specific reason you want to use Visual Studio for PHP? Usually VS is for Microsoft languages like C#, VB, C++, .NET, etc.
Upvotes: 0