Develop nodejs with visual studio 2010

前端 未结 6 1611
名媛妹妹
名媛妹妹 2021-02-05 04:53

Is it possible to develop NodeJS applications with VS2010. I\'m talking plain ol\' Javascript, not Azure or any fancy stuff like that. I just want to use VS2010 as the Javascrip

6条回答
  •  太阳男子
    2021-02-05 05:21

    If you just want to use Visual Studio as a text editor, you can do that to edit Node apps. Use File > Open Website to open the folder that your Node application is in.

    You can then open any *.js file and edit it using Visual Studio's text editor.

    If you want to try some experimental Intellisense support, check out node-vsdoc. You'll have to add the nd/node-vsdoc.js file to your project and then reference it like this:

    /// 
    

    Here's an example: https://github.com/kinogam/node-vsdoc/blob/master/nd/vsdoc-test.js

提交回复
热议问题