views:

218

answers:

4

Hi all,

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

A: 

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.

Tim Bailey
+3  A: 

You can try Vs.php.

Dan Walker
We used this for a while and were big fans of it, it's only downfall at the time (1.5 years ago or so) was that it couldn't handle large projects. I understand that this has recently been rectified though.
djt
Tried it. I want to run PHP in IIS (Silly me!!!)
Tim Bailey
I don't see why that should stop you. I don't use VS, but I see Vs.php use apache for quick testing, but Id think you can still test it with your own IIS server if you rather want that.
OIS
A: 

Hello,

Check this out: http://www.jcxsoftware.com/.

HTM

Colby Africa

Colby Africa
A: 

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.

Cory House
I entirely disagree with this recommendation.(However, I won't vote this down because I see down-votes as punishment for a bad or irresponsible answers. This is an opinion -- which I think can be neither "good" nor "bad" -- and is not irresponsible.)
Dinah