Increase editing productivity by using more than one cursor when working with code.
- [Instructor] Programming isn't just about…writing new code.…Very often, it's as much about modifying…and maintaining existing code…and that means having to select different parts of your code…in order to work on it.…Now, this is such a common operation,…that VS Code even provides a dedicated menu name selection…up here in the menu bar…and you can see that just about all of these menu items…have keyboard shortcuts.…So, let's open up index dot html…and try some of these out.…When the cursor is in source code,…typing command D, or control D on Windows,…will select the word that the cursor is on.…
So, in the code for the index dot html file,…if I just click inside this word…and type command D,…you can see that it selects the entire word…and if I type command D again,…then the selection will expand to include…the next occurrence of the previous selection.…You can see that another insertion point…has also been added, along with the main one…and what that means is that I can now type…and replace both of those selections at the same time.…
Joe Marini kicks off the course by taking you through the app's user interface, and showing how to work with its basic editing features. Next, Joe demonstrates how to customize VS Code by configuring preferences, setting your own keyboard shortcuts, and working with snippets. He also explains how to maximize your productivity by installing and managing extensions from the Visual Studio Marketplace. Plus, he discusses how VS Code works with folders and collections of files, helps you understand the IntelliSense feature, and dives into the app's advanced code editing features, such as automatic formatting.
- Installing Visual Studio Code
- The VS Code UI
- Understand how VS Code works with built-in Git integration
- Customizing VS Code
- Configuring preferences
- Setting keyboard shortcuts
- Using extensions
- Working with snippets
- Using VS Code to edit different parts of the same file
- Using multiple selections
- Understanding how VS Code works with JSON files