Native PHP support in Visual Studio 2010?

后端 未结 14 1403
死守一世寂寞
死守一世寂寞 2020-12-03 07:03

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?(exce

相关标签:
14条回答
  • 2020-12-03 07:23

    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)

    0 讨论(0)
  • 2020-12-03 07:25

    As far as large projects, VS.Php 2.7 improved quite a bit in handling large projects (10000+ files)

    Give it a try and let me know,

    Juan

    www.jcxsoftware.com

    0 讨论(0)
  • 2020-12-03 07:26

    Just use Komodo, they have both free and commercial IDE

    0 讨论(0)
  • 2020-12-03 07:26

    You could use Dreamweaver. It has codehinting, dynamic error detection in code, support for most languages used on the web, support for css, html5 etc.

    0 讨论(0)
  • 2020-12-03 07:27

    the best solution for true php projects whether small or large is "Zend Studio".

    0 讨论(0)
  • 2020-12-03 07:27

    komodo is the best multi platform free version out there...

    0 讨论(0)
提交回复
热议问题