Want a full-blown IDE for Node.js? You'll need a Windows machine...

New tools for Visual Studio tackle server-side JavaScript

Microsoft has doubled down on its support for the Node.js server-side JavaScript framework with a new set of tools that turn Visual Studio into a full-fledged Node.js IDE.

The Node.js Tools for Visual Studio (NTVS) have been in development as an open source project for around a year, but Wednesday's 1.0 release marks them ready for production use.

The add-ons enable all the usual features developers expect from an IDE, including syntax highlighting, automatic formatting, brace matching, and so on.

They even offer code completions, despite JavaScript being a loosely typed language. Microsoft's IntelliSense tech analyzes existing code to infer the correct types for variables before inserting the completions.

And of course, an IDE wouldn't be much without rich debugging capabilities – something Redmond engineer Sara Itani has been notably lacking in the Node.js community.

"We're always shocked to hear how many people are relying on print-line statements to debug their Node.js code," Itani said in a blog post announcing the NTVS release.

With NTVS, Node.js developers can step through their code and apply breakpoints and tracepoints, just like that can with other languages. They can also profile their code and set up unit tests using Visual Studio's test explorer. Remote debugging to Windows, Linux, and OS X is also supported.

The tools work with Visual Studio 2012 or later, including the free Visual Studio Express for Web and the free Visual Studio Community 2013 edition that Microsoft launched in November.

Microsoft has grown increasingly vocal about its support for Node.js and other open source technologies ever since CEO Satya Nadella announced the company's "love" for Linux at an event in San Francisco in October.

It makes a certain amount of sense, given that most customers of the software giant's Azure public cloud are using open source, sometimes exclusively – and, naturally, NTVS is fully integrated with Azure.

In the case of Node.js, which has been growing in popularity among developers working in a wide variety of fields, Microsoft went as far as to join Joyent's newly created Node.js Foundation in February, along with Fidelity, IBM, the Linux Foundation, and PayPal.

"Microsoft has been a long-time participant within the Node.js community," Redmond's Gianugo Rabellino blogged at the time, "and we take pride in the fact that our contributions have influenced successful advancements that are now being leveraged across established and emerging development platforms to support innovations in mobility, robotics, IoT and other areas."

The NTVS are available for download from Microsoft's CodePlex code hosting site, here. ®

Other stories you might like

  • DigitalOcean tries to take sting out of price hike with $4 VM
    Cloud biz says it is reacting to customer mix largely shifting from lone devs to SMEs

    DigitalOcean attempted to lessen the sting of higher prices this week by announcing a cut-rate instance aimed at developers and hobbyists.

    The $4-a-month droplet — what the infrastructure-as-a-service outfit calls its virtual machines — pairs a single virtual CPU with 512 MB of memory, 10 GB of SSD storage, and 500 GB a month in network bandwidth.

    The launch comes as DigitalOcean plans a sweeping price hike across much of its product portfolio, effective July 1. On the low-end, most instances will see pricing increase between $1 and $16 a month, but on the high-end, some products will see increases of as much as $120 in the case of DigitalOceans’ top-tier storage-optimized virtual machines.

    Continue reading
  • GPL legal battle: Vizio told by judge it will have to answer breach-of-contract claims
    Fine-print crucially deemed contractual agreement as well as copyright license in smartTV source-code case

    The Software Freedom Conservancy (SFC) has won a significant legal victory in its ongoing effort to force Vizio to publish the source code of its SmartCast TV software, which is said to contain GPLv2 and LGPLv2.1 copyleft-licensed components.

    SFC sued Vizio, claiming it was in breach of contract by failing to obey the terms of the GPLv2 and LGPLv2.1 licenses that require source code to be made public when certain conditions are met, and sought declaratory relief on behalf of Vizio TV owners. SFC wanted its breach-of-contract arguments to be heard by the Orange County Superior Court in California, though Vizio kicked the matter up to the district court level in central California where it hoped to avoid the contract issue and defend its corner using just federal copyright law.

    On Friday, Federal District Judge Josephine Staton sided with SFC and granted its motion to send its lawsuit back to superior court. To do so, Judge Staton had to decide whether or not the federal Copyright Act preempted the SFC's breach-of-contract allegations; in the end, she decided it didn't.

    Continue reading
  • US brings first-of-its-kind criminal charges of Bitcoin-based sanctions-busting
    Citizen allegedly moved $10m-plus in BTC into banned nation

    US prosecutors have accused an American citizen of illegally funneling more than $10 million in Bitcoin into an economically sanctioned country.

    It's said the resulting criminal charges of sanctions busting through the use of cryptocurrency are the first of their kind to be brought in the US.

    Under the United States' International Emergency Economic Powers Act (IEEA), it is illegal for a citizen or institution within the US to transfer funds, directly or indirectly, to a sanctioned country, such as Iran, Cuba, North Korea, or Russia. If there is evidence the IEEA was willfully violated, a criminal case should follow. If an individual or financial exchange was unwittingly involved in evading sanctions, they may be subject to civil action. 

    Continue reading

Biting the hand that feeds IT © 1998–2022