Visual Studio

Tabs vs Spaces in Visual Studio Code

Posted on

This isn’t actually another source of ignition for the endless flame war. Whichever side of the eternal flaming pit of tabs vs spaces you find yourself, Visual Studio Code will live by your decision. By default, it runs on “auto” mode, which means your code is like a box of chocolates… but you can fix […]

Visual Studio

Hide JavaScript Files in Visual Studio Code

Posted on

I have an updated version of this post available here: Exclude Files from Visual Studio Code’s File Explorer, with updates based on some very nice UI changes that make this just a little bit easier than it was in 2015 when I wrote this. The Visual Studio Code team are definitely listening to their users. […]

Visual Studio

Custom Tasks In Visual Studio Code

Posted on

I was asked how to create a custom task in Visual Studio Code. It comes with a bunch of built-in tasks that you can add to the tasks.json file – but what if you need something else… The example below enables PHPLint (in a not-very-sophisticated way) – but the technique would work for anything you […]

Visual Studio

Visual Studio Code Keyboard Shortcuts

Posted on

Visual Studio Code as a whole bunch of keyboard short-cuts, but it is inevitable that you will want to customise them. Luckily, it is quite easy to do. You can create a keybindings.json to store overrides. This file must be placed in the Users folder inside the Code directory (see below for a quick way […]

Visual Studio

TypeScript With Visual Studio Code

Posted on

Visual Studio Code is a new lightweight cross-platform editor that supports a whole bunch of languages, not least – TypeScript. Working in VSCode is a bit different to working in other editors and IDEs – so here is a Getting Started guide for TypeScript with Visual Studio Code. Once you have downloaded and installed VSCode, […]