For this course, especially if you’re starting out with JavaScript, I highly recommend you use VS Code. This is because it’s easier for you to setup a great workflow in VS Code compared to Sublime Text.
The second reason is because I’ve created a series of videos you can follow to setup VS Code.
What you need to install
I recommend you install the following things:
Standard Linter
Standard Formatter
A linter is a tool that tells you if your code looks wrong. It helps you check against most typo errors.
In the example below, my linter told me that something is wrong in line 4. Upon checking, I discovered that I missed a closing parenthesis in line 3. This is how a linter helps with typo checking.
The linter can also be configured to highlight code formatting issues. In the following example, the linter picked up incorrect indentation of the const keyword in the line2; the second const should be flushed with the first const.
Standard is a style guide for writing JavaScript. By installing Standard, you can tell the linter to check whether your code looks right. There are many other style guide versions. In this course, I use Standard.
Standard formatter is a plugin that lets your text editor update your code automatically to conform with the Standard style guide with a shortcut key (or when you save your file).
In the image below, when I save my JavaScript file, Standard formatter corrects the positioning of the second const keyword.
Instructions with VS Code
I have created a video series to help you get started with Visual Studio Code. You can watch this series through the following links: