KePy style using of Visual Studio Code.
I love the text editor setup I've been using for the past year and a half, so I want to show off my setup! Visual Studio Code has far surpassed my experiences with other editors which I used for the years before it. I thought I would do a quick write up on my setup and the extensions I love!
Its been a while since I moved to Visual Studio Code for every programming language and it has been a great experience. Visual Studio Code is not the same as the full Visual Studio, that Microsoft is well-known for. It is an excellent editor with a plugin ecosystem for most languages and tools. Install the right plugins and you are good to Go :-)
Below are my recommendations:
1) Theme
Since I write many posts about how to code professionally and give a lot of talks on programming, having a readable theme is super important to me. I also love to have a theme that I enjoy aesthetically, so usually something with a lot of girly colours. My all-time favourite theme is Dracula.
2) Icon Theme
As a software developer, we have to work with different types of extension files. So, there's a theme in VS Code marketplace that I loved it to use it. Material Icon Theme supports different file extension icons as well as folder icons. You can also use custom icons to the files/folders.
3) Saving Configuration
Another key piece of my setup is my save configuration. Many developers are using autosave code. In that case, your code automatically saved after some delay. However, I don't like to use that because I'm a person who keeps uses ctrl + s button whenever I feel satisfied with the current code. If you want you can follow this article steps to enable it.
Most importantly you would like to auto-format your code. So, your code always looks pretty and easy to readable. I'm using this feature on format code on Save and format code on Paste. Now, whenever you save the file or paste code from another file it will be autoformatted. You have to specify it in setting.json file. Follow this article steps: Formatting
4) Programming Errors
Above are the general feature that you can use it for any programming language. Now, many time we make programming errors. It can be typing mistake or import module error. There are many extension that you can download for your programming language and it will identify error for you before you run the code. In python, I'm using pylint to check syntactical and stylistic problems. (Linting Python in Visual Studio Code)
5) Snippets
Again, you need to find a specific extension to use this feature. I'm sure you're using ctrl + space button to auto-complete the line/code. So, code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements. There are a bunch of extensions that can support this feature in VS Code in your programming language. For python, you can find Python by Microsoft extension in the marketplace.
6) GitLens
Last but not the least, GitLens supercharges the Git capabilities built into Visual Studio Code. If you are working with other developers, you might be using Github, Bitbucket, GitLab or any other version control tool. GitLens helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.
Above are my personal recommendations. Hope at least one of those you find it helpful. I suggest you to spend some time on the configuration of your IDE as you will be working at least 8 hours on that every day. It should be configured as you need so you can work more effectively. Happy Hacking :)
Keyul Patel is a 23-year-old computing student who enjoys eating out, relaxing and outdoor activities. He is helpful and loveable. He is currently at college studying computing. He is obsessed with programming.