visual-studio Visual Web Developer 2010 Express 对 PHP 的支持程度如何?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2909908/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 12:02:10  来源:igfitidea点击:

How well does Visual Web Developer 2010 Express support PHP?

phpvisual-studio

提问by JasonYun

How well does Visual Web Developer 2010 Express support PHP?

Visual Web Developer 2010 Express 对 PHP 的支持程度如何?

回答by Warty

There is no PHP support in Visual Web Developer 2010 from Microsoft.

Microsoft 的 Visual Web Developer 2010 中不支持 PHP。

A quick google brings up http://www.jcxsoftware.com/vs.php... but I haven't seen/tested it before so I can't say it'll work. Note that you have to shell out 100 bucks for it.

一个快速的谷歌带来了http://www.jcxsoftware.com/vs.php......但我之前没有见过/测试过它,所以我不能说它会起作用。请注意,您必须为此支付 100 美元。

In addition, you CAN trick visual c++ into thinking that .php files are .cpp files. You would get basic syntax highlighting [if, while, for]... http://www.cumps.be/visual-studio-2008-and-php-coloring/

此外,您可以欺骗 Visual C++ 认为 .php 文件是 .cpp 文件。你会得到基本的语法高亮 [if, while, for] ... http://www.cumps.be/visual-studio-2008-and-php-coloring/

There were also a few attempts to write intelligent PHP support into Visual Studio [ie: http://php4vs.codeplex.com/]... they all failed eventually.

还有一些尝试将智能 PHP 支持写入 Visual Studio [即:http: //php4vs.codeplex.com/]......最终都失败了。

回答by AceMark

that's what WebMatrixis for, PHP/Web development.

这就是WebMatrix的用途,PHP/Web 开发。

回答by halfdan

There is http://www.jcxsoftware.com/vs.phpwhich enables Visual Studio to work properly with PHP files. Alternatively have a look at this blog post that explains how to use PHP with Visual Studio (http://www.cumps.be/visual-studio-2008-and-php-coloring/)

http://www.jcxsoftware.com/vs.php使Visual Studio中使用PHP文件正常工作。或者看看这篇博客文章,它解释了如何在 Visual Studio 中使用 PHP ( http://www.cumps.be/visual-studio-2008-and-php-coloring/)

回答by Shahnawaz Khan

VWD 2010 Express does not support php. If you want to highlight php syntaxes then use notepad++, which is free.

VWD 2010 Express 不支持 php。如果您想突出显示 php 语法,请使用免费的 notepad++。