We’ve found it a useful tool in the week we’ve been using it NTVS removes much of the frustration around coding Node.js services by building it into a familiar IDE. Combining NTVS with Xamarin in Visual Studio means you’ll have an end-to-end development tool, from service to cross-platform client. Combined with the free community edition of Visual Studio, it should give developers the ability to quickly get started with Node.js while using more than just a text editor. With Node.js becoming increasingly important for microservice development, and for scalable containerized applications, giving developers the choice of using it in their Visual Studio projects makes a lot of sense. Microsoft’s NTVS tooling is a welcome addition to Visual Studio. There’s full support for npm, and dependencies are exposed and managed through the familiar Solution Explorer. Express users get the added benefit of built-in project templates, so you can quickly set up an Express-based site, with Visual Studio’s npm installer handling setup for you. If you’re using a Node.js framework, the NTVS static-code analysis tools are tested against the 100 top npm packages, with the IntelliSense tools also tested in popular frameworks like Express and Seneca. There’s also support for integration with Visual Studio’s unit testing tools and the Visual Studio Online devops services, including integration with Git and Github. With hooks into its remote debugging tools and into its profiler, you can quickly come to grips with applications and determine production and performance issues. It’s debugging tools like this that make it a lot easier to use a full-fledged IDE like Visual Studio with Node.js. It’s a useful tool, not just as a scratchpad, but also as a way of isolating and testing code elements while debugging. Like the sandboxed Swift playgrounds in Xcode, it lets you quickly try out code snippets using a local copy of Node.js before you add them to your applications. Perhaps the most useful feature in NTVS is its interactive window. While there is support for io.js, it’s not complete as yet, as ECMAScript 6 is not yet fully supported in Visual Studio and the new language syntax causes issues with the IntelliSense code analysis tools. There’s also code completion, as static analysis tools handle both code you’ve written and any npm packages you’ve installed. ![]() There are a couple of pre-requisites: if you’re planning on using Node.js or io.js support from the Azure web site, then you’ll need to install the Visual Studio Azure tooling, and of course you’ll need an up-to-date installation of Node.js on your development PC.Īs NTVS is a Visual Studio add-on, it gets access to the complete Visual Studio IDE, including its syntax highlighting and automatic code formatting. Installation in Visual Studio is quick and easy, and the tools are easily accessible once installed, with new menu items and new project templates. Licensed using the Apache 2.0 license, the tools and source code are available through Microsoft’s CodePlex repository, as is the ability to submit code and make pull requests. NTVS comes with tools to build Express applications and to work with npm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |