Supercharged Visual Studio Code - Part 2

Supercharged Visual Studio Code - Part 2

ยท

3 min read

Table of contents

No heading

No headings in the article.

Hello everyone ๐Ÿ˜„

This is the second part of Supercharged Visual Studio Code in Part 1 we talked about some plugins to make like easier while developing;

In this, I will be sharing some tools to help us code better...

  • Writting comments in a standard and human friendly way, is one thing that can improve you as a developer, using Better Comments helps to handle this.

Screenshot 2022-06-09 at 13.07.41.png

example:

Screenshot 2022-06-09 at 14.12.13.png

  • It is easy to make mistakes while naming a variable, constant etc in-order to reduce this, Code Spell Checker helps with basic spell checking so as catch the spelling errors

Screenshot 2022-06-09 at 13.14.52.png

example:

Screenshot 2022-06-09 at 13.18.10.png

  • As a frontend developer it is easy to forget what what 'leading-relaxed' means in tailwind but with css peek all i need to do is to hover on the css and it will get what was defined in the class

Screenshot 2022-06-09 at 13.20.57.png

example

Screenshot 2022-06-09 at 13.21.28.png

  • Imagine all the goodies of github in your vs-code and then this package also come with git-blame, which help you know the author of a particular file, line of code etc.

GitLens brings such functionality and much more...

Screenshot 2022-06-09 at 13.26.17.png

example: here it showed that I am the author of the file

Screenshot 2022-06-09 at 13.26.37.png

  • When you have to change alot of code, it is easy to forget the last line of code you worked on, this is where Footsteps comes in

Screenshot 2022-06-09 at 13.30.09.png

  • For autocomplete of path, the vs-code Path Intellisense is one of the best

Screenshot 2022-06-09 at 13.31.52.png

  • If you find your self renaming tags either JSX element, HTML element etc, it is best to use Auto Rename Tag, this plugin helps to automatically change the starting and ending tag and it also works fine for self closing tags

Screenshot 2022-06-09 at 13.36.46.png

  • Add jsdoc comments is an awesome tool that automatically generates comment based on function definition, it basically scans your function name and the parameter your function is expecting and then it provides you with an awesome comment that helps reviewer understand what the code is all about. NB: it works with JavaScript file not TypeScript file

Screenshot 2022-06-09 at 13.41.56.png

example:

Screenshot 2022-06-09 at 13.48.33.png

  • Sort lines helps you sort arguments, parameters, props etc in the order you specified (special thanks to Bill for this)

Screenshot 2022-06-09 at 13.54.23.png

  • Why explain your code (a line of code or a file) when you can have an AI do that for you ๐Ÿ˜…; yes this is what Denigma does, it analyses your code and provides an AI powered explanation

Screenshot 2022-06-09 at 13.56.24.png

example:

Screenshot 2022-06-09 at 13.59.49.png

Thanks, for checking out this tutorial. (please like and add your comments) You can also check out my other tutorials on my blog

Special thanks to my friend a bad-ass frontend developer Josh for helping me review this ๐Ÿ™

If you have any questions, feedback or comments, please let me know.

You can connect with me on twitter email github

You can also reach out to me(I do React-Native & React Js) twitter email

ย