Want to write some code in vs code? It is a great editor, and there are many plugins you can use with it. Let’s explore!
The first thing you need to do is open up the command palette. You can do this by pressing the
You’ve probably heard of VS Code, the open-source, cross-platform editor by Microsoft that has taken the developer community by storm. If you’re using VS Code and want to know the best way to get started with it, this guide is for you.
First Things First
To use VS Code, you’ll need to install it on your computer. You can download it here. Once installed, you’ll need to add some extra extensions to make it work properly. To do so:
Click on the Extensions icon in the Activity Bar (the bar along the left edge of the screen). By default this is a square box with an x inside of it.
Search for ‘VS Code’
Select one of the options from the dropdown list. I’d recommend ‘VS Code Vim’.
Click on Install and then Reload when prompted.
As a developer, VS Code is one of the best editors out there. From editing, to debugging, and all the way through to deployment, VS Code has you covered. It makes it really easy to collaborate with others on projects and has a lot of great plugins available on the marketplace.
One of the main things I love about VS Code is that it’s built by Microsoft. As many of us know, Microsoft had a bad reputation for having terrible developers tools that were hard to use, but not anymore. VS Code has ended up being one of my favorite editors and is used by many people in the developer community.
There are a lot of great features in VS Code, so I put together a quick guide on how you set up VS Code for your projects.
Vim is a famous editor that is loved by many developers. It has a rich history, and lots of plugins and extensions. In this guide we are going to focus on some of the Vim features in VS Code.
VS Code’s Vim support has a lot of customizations and you don’t need to use Vim extensions to get the best experience.
Before we start, make sure you have the Vim extension installed in VS Code if you haven’t already, and open up a file in your workspace.
Here is a quick look at our final result:
If you don’t see any resemblance with Vim, that’s because we’ve enabled ‘Vim mode’ in the Status Bar at the bottom right of the screen. Note that this doesn’t mean it’s exactly like Vim, but it is close enough for most people who are new to vim or are starting to learn vim.
You can use Vim and VSCode at the same time. That is, you can use VSCode as an IDE but still use Vim keybindings in your editor. You can set this up by installing the Vim extension in VSCode.
Also, I have made a small Vim tutorial on Github which teaches you how to set up VSCode with Vim keybindings. It also has some links to cheatsheets and other useful resources.
You can also use VS Code with Emacs keybindings! Just install the Emacs extension, and you’re ready to go!