BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

VS Code Improves JavaScript Editing Abilities

| by Jeff Martin Follow 4 Followers on Mar 30, 2016. Estimated reading time: 1 minute |

Microsoft's multiplatform, open source text editor VS Code, has just released its March build.  Most web developers should find something new that will benefit their work and can try VS Code on their choice of platforms:  Windows, Linux, or Mac OS X.

The VS Code project has been looking for ways to improve the JavaScript editing experience so that it would more closely follow the experience of TypeScript  users.  Since it is not always practical to completely convert an existing JavaScript project to pure TypeScript, improving VS Code’s abilities for JavaScript development could have a big impact on programmer productivity.  Developers will find that their JavaScript projects can now take advantage of IntelliSense and JSDoc comments.

In addition, editor tool tips now provide indication as to what is providing the text in the tip.  For example, so as to distinguish them from a lint program’s (ESLint and JSHint are supported) feedback, JavaScript syntax errors are prefaced [js] while the lint comments are unadorned. 

Several formatting options are present and configurable for JavaScript code.  The amount of spacing in for-loops, how braces should be placed in code blocks, and other formatting concerns can be configured to suit your personal (or corporate) coding style.  TypeScript users will find similar options have been added for their language as well.

HTML formatting is based on beautifyjs, which had has provided some formatting options that were not available under VS Code.  New items that include the ability to define line wrapping and behavior around new lines can be modified.

As usual, VS Code is offered in two distinct binaries:  one that tracks the stable releases while the other follows the more risky “Insiders”  releases (Microsoft’s term for the bleeding edge).  For either selection, you can download binaries ready to go for Windows, Mac OS X, and Linux.  Even better, the Linux offerings are available in both Debian (DEB) and Redhat (RPM) package formats.

Full release notes are available as is a list of all bugs that were fixed in this release.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT