Posted in development, linux on August 1, 2017 by Adrian Wyssmann ‐ 3 min read
I am not a professional developer, but from time to time I write some code. Even more often I write scripts (bash) or configuration files for e.g. Packer or Vagrant. Said that, I have to admit, that I use Microsoft’s source control editor Visual Studio Code (Insiders) on my Linux box.
I love it cause it supports a number of programming languages from scratch and can be even extended to support a lot of others. It loads very fast and works with git by default. This means you can easily stage files, commit changes, push and pull from and to git, as well as review diffs. Very cool is also the IntelliSense, which offer not only code completion but far more. If you don’t know what it is, checkout this site: https://code.visualstudio.com/docs/editor/intellisense
VS Code comes with other nice features like a built-in debugger which lets you easily debug your code and is as well available for a lot of languages - via debugger extensions. It also offers an integrated terminal - which is quite comfortable to do actions that require the console without switching the window. In addition you can have different different types of console e.g. bash and powershell - assuming you have powershell installed on your box.
But not all activities have to be done on the console cause VS Code currently auto-detects tasks for different systems which Gulp, Grunt, Jake and npm - Maven and C# .NET to come soon. In addition you also can create your custom tasks.
As you might already expect out of the text above, VS Code can be extended by means of extensions. There is a big market place which offers a lot of extensions. Extensions that are installed can be disabled for a specific workspace.
Some extensions which I currently use and really like
Sure there are much more interesting plugins for your needs.
On Arch Linux you can install it via AUR
[adrian@archlinux]$ yaourt -S visual-studio-codeor in case you would like to use the 64-bit version
[adrian@archlinux]$ yaourt -S visual-studio-code-insidersLatter may require to disable the checksum verification as it installs always the latest insider build, but the package may not yet been updated.
Checkout https://github.com/Microsoft/vscode-tips-and-tricks for some tips and tricks. It’s also worth to check the default keybindings, even so you can adjust this to your needs if necessary.