From the course: Visual Studio Code for Web Developers

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Web code editing

Web code editing

- [Instructor] If you're a web developer, then VS Code is going to be a great friend to you. In addition to all the great features we've already seen, that make editing code a breeze, there are features that will make web developers particularly happy. So let's start with something simple. Often times during development you'll want to quickly comment and uncomment code to try out various things or to help narrow down bugs. In VS Code you can quickly comment sections of Code by using the toggle comment command, which is Command / or Control / on Windows. So I'm going to highlight this code right here, and you can see that in HTML it works just fine, so I can comment and uncomment code just by typing that key combination. Of course it also works in JavaScript. So let's open up the SpryTabbedPanels file over here in the example files, and what I'm going to do is quickly comment out these lines of code. So I'll select these as well, and you can see that it's putting single line comments…

Contents