From the course: JavaScript for Web Designers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Your friend the text editor

Your friend the text editor - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

Your friend the text editor

- [Instructor] If you're going to spend any time working with JavaScript or indeed any code whatsoever, it's essential that you have a good editor. Your choice of editor is going to be a very personal one, but I want to go over some features that might help you determine what makes a good one. The first thing a good editor does is make your code more readable. I'm looking at this JavaScript file from the Exercise Files in Visual Studio Code. Most decent editors these days offer syntax highlighting, which will show you different features of the language you're working with in different colors. So functions and other language keywords will be in blue in this case, strings will be red, and so forth. Code folding is a really useful feature when you're working on long code files like this one. If I hit mouseover into the gutter here, I get these little arrows, and if I click one, it folds the code for me. This can reduce…

Contents