This is a quick note with an updated version on how to exclude files from the Visual Studio Code file explorer. I originally wrote about this in 2015 before the UI was as polished as it is now. I have also found I get asked about this a great deal due to conflicting information I […]
Tag: vscode
This is just a nod to the handy little Visual Studio Code Extension: Preview on Web Server. Now you can configure a task, or run a command, or set up a local web server yourself… but why not just install this extension and then just hit CTRL + SHIFT + L to load the web […]
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 […]
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. […]
This is a little trick that allows you to do pretty much whatever you like in a Visual Studio Code task. If you can put it in a batch file, you can do with VSCode. All you need is this “I’ll run a batch file for you” task (and possibly add a problem matcher so […]
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 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 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, […]