Skip to Content

Visual Studio Code Extensions

Mainly posting this for my own reference. I used Sublime Text for years and blogged about it quite a bit. A few years ago I finally bit the bullet and started using Visual Studio Code. I still think the CFML plugin in Sublime is the best for editing ColdFusion code, but when editing anything else besides CFML VSCode wins and switching between them isn’t really realistic (I tried).

I’m setting up a new computer and thought I’d make a list of my favorite VSCode extensions, settings, etc.

Extensions

To get a list of extensions installed run this:

code --list-extensions

A list of my installed extensions:

That’s it. I don’t use a lot of extensions. I’ll blog more about the Foam plugin in the future. I use that for note taking. You can also enable / disable extensions for each project. So if you are hacking on some Python for example you can disable the CFML extension.

Font

I’m partial to the ‘Hack’ font: https://sourcefoundry.org/hack/

Settings

I don’t change too many settings. I do enable settings sync. This does two things:

  1. Saves my settings to the cloud
  2. Allows me to use the same settings anywhere I install VSCode

Here are the main settings I change immediately:

{
  ...
	// prevent theme styling from getting copied
  "editor.copyWithSyntaxHighlighting": false,
	// I like to show a ruler at 80 spaces for git commits, etc
  "editor.rulers": [80],
	// I want to see folders all the time!
  "explorer.compactFolders": false,
	// to quickly see what changed
  "workbench.editor.highlightModifiedTabs": true,
	// this was one of my long peeves with Sublime - I love the side bar on the right!
	// when I expand/hide it - my code doesn't shift!
  "workbench.sideBar.location": "right",
	// so I don't fudge something when commiting :) everything should be a feature branch
  "git.branchProtection": ["develop", "main", "master"],
	// i hate breadcrumbs LOL
	"breadcrumbs.enabled": false,
	...
}

I will occasionally tweak other things trying out new features in Code or trying new extensions. There are a lot of extension! So if you are trying to do something or wish VSCode had a certain feature - search through the Extension Marketplace and you may find something useful!