Scott Hanselman

Visual Studio Code just keeps getting better - with extensions

November 15, '16 Comments [37] Posted in
Sponsored By
Visual Studio Code

I've been a fan of Visual Studio Code (the free code editor) since it was released. But even though it continues to update itself as I use it, I didn't really grok how much cool stuff has been going on under the hood.

As of this writing. VSCode is on version 1.7.1. Here's the highlights of this new version:

But the REAL star and the REAL magic in VS Code - IMHO - is the growing VS Code Extension Gallery/Marketplace. Go check it out, but here's just a taste of the cool stuff that plugs nicely into Visual Studio Code.

Great Visual Studio Code Extensions

What are your favorite VS Code extensions?

Sponsor: Big thanks to Telerik! They recently published a comprehensive whitepaper on The State of C#, discussing the history of C#, what’s new in C# 7 and whether C# is still a viable language. Check it out!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Tuesday, 15 November 2016 07:42:53 UTC
My favorite so far is an easy way to run a website in IISExpress: open the folder in VSCode, CTRL+SHIFT+P, type IIS + return, return. Done!

Extension is here:
Tuesday, 15 November 2016 08:18:56 UTC
Is the team that works on VSCode different to the team that works on Visual Studio?
Tuesday, 15 November 2016 10:01:54 UTC
This isn't really an extension, but something I found very useful for me (especially as I have visual impairment: Fira Code -

It's effectively yet another programming font, but with a twist - it uses font ligatures to create distinct glyphs for the usual multi-character sequences (like =>). Visual Studio Code is supported and, after a quick adjustment period, I find it makes reading any code, be it C#, JS or even HTML, much easier on the eyes.
Tuesday, 15 November 2016 10:38:59 UTC
I'm still in the dark as why I might want to use Visual Studio Code rather than Visual Studio 2016?
Tuesday, 15 November 2016 10:58:19 UTC
The speed and languages supported. It is something between Notepad++ and Visual Studio, but if you don't do full blown C# for example Visual Studio is to much, I do C#, Powershell, CSS, json, xml and others, VSCode is way better for fast and multiple instances of editors.
Tuesday, 15 November 2016 12:05:52 UTC
Link to the bash debugger goes to the Chrome one :)
Tuesday, 15 November 2016 12:05:53 UTC
Link to the bash debugger goes to the Chrome one :)
Tuesday, 15 November 2016 12:32:16 UTC
Mine has to be Ionide - awesome fsharp support in paket and forge - code lens!! - don't even think Vs2015 has that for fsharp - great piece of open source work
Tuesday, 15 November 2016 13:39:15 UTC
@Robert, Visual Studio Code is a lightweight code editor, not an IDE. You'd want to use it anytime you'd use something like Notepad++... and more, actually. For things like PowerShell scripting, simple web development, writing markdown, scripting, etc., the agility of VS Code outstrips VS. Even if you prefer VS for some of what I mentioned, there's simply no denying that there's times a simple editor is preferred, or do you never use Notepad or one of it's many replacements?
Tuesday, 15 November 2016 13:48:47 UTC
I never use any Notepad variation for development because typically I on projects that involve multiple file types, i.e. I don't do just C#. I'm typically editing C#, CSS, HTML, node.js etc... all in one.

In addition I guess the question stems from this article about extensions that add back functionality that VS already has.

My question towards start of comments - is that VS seems to be getting slower earlier versions were not as slow as VS 2015, I've not tried the 2016 preview yet so perhaps the changes they've been working on related to speed will solve all that. I'm hoping that the VS and VSCode are not the same team.
Tuesday, 15 November 2016 13:59:21 UTC
Thanks for the advice - mostly I just use C# and Windows (and TFS)
Tuesday, 15 November 2016 13:59:21 UTC
I love VSCode -- some of my favorite extensions are:

GitLens - Provides Git CodeLens information (most recent commit, # of authors), on-demand inline blame annotations, status bar blame information, file & blame history explorers, and commands to compare changes

TypeLens - Shows references to TypeScript (and other languages) methods in the form of CodeLens

Version Lens - Shows the latest version for each package using CodeLens (works with package.json as well as project.json)
Tuesday, 15 November 2016 14:44:02 UTC
VSCode is an attempt by Microsoft at getting Mac and Linux developers as well as Windows (people without VS). This along with all the open source coolness has made for some exciting changes. Makes .NET an option for a large percentage when in the past it was not.
Tuesday, 15 November 2016 14:46:00 UTC
@Peter they aren't the same team. I believe the biggest reason for VS becoming slower is due to the use of Roslyn. In particular, if you have a very large project with really large source files things can become unbearably slow. I wouldn't give up the functionality we get with Roslyn, though.
Tuesday, 15 November 2016 16:13:34 UTC
In Visual Studio (community, pro, enterprise, whatever):

File->New->File or Ctrl + N

There's your "notepad", along with Intellisense and all the syntax highlighting for virtually any language you'd want to use. I get Mac or Linux development, but for Windows I'm struggling to come up with a good use case for it over VS proper. I'm reading "heavy" but maybe I'm just spoiled on decent 16 gig SSD machines (which seem reasonably affordable today) both at home and work? That heavy feeling I felt before going SSD has completely gone away for me. It's not unusual for me to have 5 or even 10 instances of Visual Studio open at work, and I don't hesitate to fire up another one to "test something" if the new file thing won't suffice.
Tuesday, 15 November 2016 16:55:13 UTC
Some people have said my extension 'SnakeTrail' is good for presentations. I like it for just coding.
Tuesday, 15 November 2016 17:12:23 UTC
Great work.

Just want to clarify, are all the extensions in the market store are genuine and verified by Microsoft? Don't want to install something on my machine from some random person which potentially is a security risk.
Xiao Han
Tuesday, 15 November 2016 18:40:47 UTC

No, extensions on the marketplace are not "verified" by Microsoft as far as I know (maybe they have some static analysis or something, but I doubt it). FYI, this is the same for the Visual Studio (not Code) marketplace as well.
Wednesday, 16 November 2016 02:34:21 UTC
Does it make sense to install VS Code if you already have VS installed?
Wednesday, 16 November 2016 05:49:11 UTC
@Alex- it definitely makes sense to install VsCode because it's like notepad if you need change your CSS or anything instead of opening full visual studio you can do it.Also, now there are so much support for C# sometime I feel that you even don't need full visual studio also.
Wednesday, 16 November 2016 05:49:11 UTC
@Alex- it definitely makes sense to install VsCode because it's like notepad if you need change your CSS or anything instead of opening full visual studio you can do it.Also, now there are so much support for C# sometime I feel that you even don't need full visual studio also.
Wednesday, 16 November 2016 06:49:51 UTC
Recently I have used VS Code much more than the full blown Visual Studio, because it is much faster (even on my 16 GB SSD machines). It also fits the "the folder is the Project" approach better that is used in web development and can use the same configuration files than the rest of my toolchain.

Regarding extensions: I got used to the CTRL+D shortcut from ReSharper and Notepad++ that duplicates the selected text. I have written an extension that adds the same behavior to Visual Studio Code: Contextual Duplicate

Other extensions I cannot live without are:

Wednesday, 16 November 2016 10:26:05 UTC
On Windows there is the VS Communtiy edition which is effectively VS Pro for small (5 or less) teams or hobbyists, therefore VSCode in terms of functionality is not needed for Windows users.
Wednesday, 16 November 2016 12:45:03 UTC
@Peter, I can't agree. I live in both all day long. Visual Studio for larger C# projects, and Visual Studio Code for nearly everything else.
Wednesday, 16 November 2016 14:49:39 UTC
@Arul, what do you mean by "best way to write markdown"? Markdown is supported out of the box. There's a markdownlint extension I use as well. This covers most of what one would want. There's lots of other markdown extensions as well, so it all really depends on what you're looking for specifically?
Wednesday, 16 November 2016 15:27:45 UTC
Just in case it's useful to anyone, I released a project yesterday that I've been working on for some time, and that really resonated with a lot of folks yesterday, quite unexpectedly.

It's nightly builds of VS Code for Chromebooks and Raspberry Pi (ARM and Intel packages).

These builds aren't exactly matched to the Insider builds, but they're the same idea (code cut once a day, tested, packaged and deployed).

Hope someone finds it useful. Would love to hear your thoughts on this Scott!

Wednesday, 16 November 2016 15:34:00 UTC
Personally I prefer Visual Studio code for writing Angular (1 and 2) apps. It works much better with Typescript.
Wednesday, 16 November 2016 19:16:04 UTC
I like VSCode and have moved from Sublime to VSCode. But it is still a bit rough around the edges. The most grating thing so far is the lack of drang and drop of text - see
Thursday, 17 November 2016 08:28:55 UTC
@wekempf I guess it must depend on the project you work on. For me I'm working on an ASP.NET MVC app therefore I have VS 2015 open, since it's a web app the CSS/JS etc.. is also included in the MVC project.

Given that I already have VS 2015 open for working on the C# bits why would I open another app to work with files that VS 2015 already has open?

Is the SASS/CSS and JS editing features of VSCode dramatically better than VS2015? If not or it's simply on par then I honestly see zero reason to have it in my scenario. Having a 2nd app open mimicking what the 1st app does is a waste of resources.

Given all the comments here I might install it just to see what it's like once my 2nd hard drive or new computer turns up from sysadmin. At present what with my SQL Server DBs and other apps installed my only drive is near constantly low on disk space, :P
Thursday, 17 November 2016 16:07:18 UTC
I started playing around with Visual Studio Code shortly after it was released, but I have been sticking primarily to Visual Studio 2015. However, I just found an excellent course on pluralsight about creating a Javascript Development environment using VS Code by Cory House, and I am really starting to love the experience of developing with the slimmed down program. You mentioned a few features I have missed that I am really excited to check out!
Monday, 21 November 2016 20:27:54 UTC
Thanks for this post. I'm getting started in the Mac environment and have been looking for a code file editor.
Monday, 21 November 2016 22:11:34 UTC
NEEDS an add new C# class extension.
Fergal Moran
Friday, 25 November 2016 18:16:51 UTC
Not an extension, but I am a huge fan of the keybindings. I added a couple to make working with the treeview easier. I pasted them below for anyone interested :-)

// Place your key bindings in this file to overwrite the defaults
"key": "Cmd+Shift+F",
"command": "workbench.action.files.newFile",
"when": "!editorTextFocus"
"key": "Cmd+Shift+D",
"command": "workbench.action.files.newFolder",
"when": "!editorTextFocus"
Wednesday, 30 November 2016 11:39:08 UTC
Wow, Scot you made my day by this info. Why am I so much excited about VS Code is? Actually, I was looking for a comprehensive code editor for my web projects. Thankfully now I got a good one via VS Code. I am gonna try it for now. Looking forward to seeing what's exciting inside.
Best regards
Thursday, 01 December 2016 05:00:42 UTC
I started using VS Code recently in anger for node dev and I love it, so much so that I am no longer using Sublime. The syntax completion and debugging are great, it opens fast, and ever since tabs made it in, I am a very happy camper. Add to that the inline terminal window. Job well done Microsoft!
Glenn Block
Wednesday, 07 December 2016 19:19:24 UTC
I wrote the VSCode extension for highlighting the syntax of Zeus Z80 assembler files from my old ZX Spectrum computer. This couldn't be done so easy on VSPro. So VSCode has an incredible customization power.
Thursday, 08 December 2016 13:42:26 UTC
Visual Studio has been the programming language ever, its easy and very user friendly.
Gillian kevin
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.