{"id":6346,"date":"2013-11-22T00:18:40","date_gmt":"2013-11-22T00:18:40","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/node-js-development-in-visual-studio-life-after-visual-node-with-node-tools-for-visual-studio\/"},"modified":"2017-10-24T15:28:28","modified_gmt":"2017-10-24T15:28:28","slug":"node-js-development-in-visual-studio-life-after-visual-node-with-node-tools-for-visual-studio","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/blogs\/node-js-development-in-visual-studio-life-after-visual-node-with-node-tools-for-visual-studio\/","title":{"rendered":"Node.js Development in Visual Studio &ndash; Life After Visual Node with Node Tools for Visual Studio"},"content":{"rendered":"<p>By now you may have seen the first public alpha release of <a href=\"https:\/\/nodejstools.codeplex.com\/\">Node Tools for Visual Studio on CodePlex<\/a> announced in <a href=\"http:\/\/www.hanselman.com\/blog\/IntroducingNodejsToolsForVisualStudio.aspx\">Scott Hanselman&#8217;s excellent overview of the suite<\/a>. You may have noticed Red Gate&#8217;s name associated with this and, particularly if you&#8217;re a Visual Node user, you&#8217;re probably wondering what&#8217;s going on, and where all this has come from.<\/p>\n<p>The short version is that since the summer we&#8217;ve been working with Microsoft on Node Tools for Visual Studio (NTVS) to make Node.js development a first class citizen in Visual Studio, and Visual Studio the de facto environment for Node development on Windows. NTVS supports:<\/p>\n<ul>\n<li>Various Node project types, including the ability to create NTVS projects from existing Node apps,<\/li>\n<li>IntelliSense and Editing,<\/li>\n<li>Debugging, including remote debugging on Linux,<\/li>\n<li>Profiling,<\/li>\n<li>npm,<\/li>\n<li>Azure deployment.<\/li>\n<\/ul>\n<p>The great news about this is that NTVS is completely free and open source so, if you want to give it a try &#8211; and I strongly recommend you do, because it&#8217;s <em>awesome<\/em> &#8211; you can download it from:<\/p>\n<p><a href=\"https:\/\/nodejstools.codeplex.com\/\">https:\/\/nodejstools.codeplex.com\/<\/a><\/p>\n<p>And it&#8217;s definitely worth reading Scott&#8217;s post and running through his Ghost blogging engine example:<\/p>\n<p><a href=\"http:\/\/www.hanselman.com\/blog\/IntroducingNodejsToolsForVisualStudio.aspx\">http:\/\/www.hanselman.com\/blog\/IntroducingNodejsToolsForVisualStudio.aspx<\/a><\/p>\n<p>Once you&#8217;ve had a chance to play with it, please tell us what you think. We&#8217;d love to hear how you&#8217;d like us to improve NTVS. Equally if you run into problems, please let us know about those:<\/p>\n<ul>\n<li>To report bugs\/issues\/problems, or to request features\/improvements: <a href=\"https:\/\/nodejstools.codeplex.com\/workitem\/list\/basic\">https:\/\/nodejstools.codeplex.com\/workitem\/list\/basic<\/a><\/li>\n<li>For general feedback\/discussion: <a href=\"https:\/\/nodejstools.codeplex.com\/discussions\">https:\/\/nodejstools.codeplex.com\/discussions<\/a><\/li>\n<\/ul>\n<p>Please also vote on the issues\/improvements you&#8217;d most like to see us work on.<\/p>\n<p><strong>Question: I&#8217;m a Visual Node user &#8211; what should I do?<\/strong><\/p>\n<p>If you&#8217;re already a Visual Node user I recommend you immediately upgrade to NTVS because it represents a quantum leap over the functionality provided by Visual Node*. If you have projects you need to migrate from Visual Node to NTVS just follow these instructions:<\/p>\n<ol>\n<li>Download and install NTVS.<\/li>\n<li>Open up Visual Studio 2012 or 2013.<\/li>\n<li>Click <strong>File &gt; New Project<\/strong>.<\/li>\n<li>In the templates pane on the left expand <strong>Installed &gt; Templates &gt; Other Languages &gt; JavaScript<\/strong>.<\/li>\n<li>Select the <strong>From Existing Node.js code<\/strong> project type then click <strong>OK<\/strong>. (Don&#8217;t worry about the <strong>Name<\/strong>, <strong>Location<\/strong> and <strong>Solution name<\/strong> settings at the bottom, since these will be ignored.)<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/NewProjFromExistingCode.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/NewProjFromExistingCode_thumb.png\" alt=\"NewProjFromExistingCode_thumb.png\" width=\"504\" height=\"323\" \/><\/a><\/p>\n<ol>\n<li>In the wizard specify the location of the root folder of your Visual Node project, then click <strong>Next<\/strong>.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/FromExistingCode_Wiz1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/FromExistingCode_Wiz1_thumb.png\" alt=\"FromExistingCode_Wiz1_thumb.png\" width=\"504\" height=\"379\" \/><\/a><\/p>\n<ol>\n<li>Now specify the JavaScript file that should be run when you hit F5, and click <strong>Next<\/strong>.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/FromExistingCode_Wiz2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/FromExistingCode_Wiz2_thumb.png\" alt=\"FromExistingCode_Wiz2_thumb.png\" width=\"504\" height=\"379\" \/><\/a><\/p>\n<ol>\n<li>Tell Visual Studio where you&#8217;d like to save the project file, then click <strong>Finish<\/strong>.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/FromExistingCode_Wiz3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2013\/11\/FromExistingCode_Wiz3_thumb.png\" alt=\"FromExistingCode_Wiz3_thumb.png\" width=\"504\" height=\"379\" \/><\/a><\/p>\n<ol>\n<li>You&#8217;re done &#8211; your project should be sucessfully migrated to NTVS. You can now just hit <strong>F5<\/strong> to run it.<\/li>\n<\/ol>\n<p>As a result we&#8217;re going to be retiring Visual Node, and we&#8217;d like to thank those of you who signed up, and tried it out. Your feedback has been incredibly valuable, and has helped us improve NTVS &#8211; and it will continue to do so (we&#8217;re only at alpha, after all!).<\/p>\n<p>If you run into problems, or need help or support, please do post in <a href=\"https:\/\/nodejstools.codeplex.com\/discussions\">https:\/\/nodejstools.codeplex.com\/discussions<\/a>, and we&#8217;ll get back to you as soon as we can. And, as I said, if you have bug reports or suggestions for improvement please post them at <a href=\"https:\/\/nodejstools.codeplex.com\/workitem\/list\/basic\">https:\/\/nodejstools.codeplex.com\/workitem\/list\/basic<\/a>.<\/p>\n<p><em>*N.B. NTVS only works with Visual Studio 2012 and 2013 so DON&#8217;T upgrade if you&#8217;re still using Visual Studio 2010!<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By now you may have seen the first public alpha release of Node Tools for Visual Studio on CodePlex announced in Scott Hanselman&#8217;s excellent overview of the suite. You may have noticed Red Gate&#8217;s name associated with this and, particularly if you&#8217;re a Visual Node user, you&#8217;re probably wondering what&#8217;s going on, and where all&#8230;&hellip;<\/p>\n","protected":false},"author":221714,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"coauthors":[26386],"class_list":["post-6346","post","type-post","status-publish","format-standard","hentry","category-blogs"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/6346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/221714"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=6346"}],"version-history":[{"count":3,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/6346\/revisions"}],"predecessor-version":[{"id":74865,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/6346\/revisions\/74865"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=6346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=6346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=6346"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=6346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}