Learn how to search for content within a file and across multiple files.
- [Narrator] Searching through code…is fairly straight forward.…You simply type command F or control F,…depending on your platform.…And then type in the term that your looking for.…You can use the enter key to advance through the results,…which will wrap around back to the beginning.…You can also initiate a search by placing the cursor…within a piece of text or by highlighting…a selection of text before typing command F.…Within the search controls you can further refine…how the search is performed.…You can specify case sensitive searches…or finding only the entire word,…or even using regular expressions,…if you're into that kind of thing…and you know what your doing.…
If you want to perform a find and replace operation…within the current file,…just click on the little arrow here in the find controls…or just type option command F, or control h on Windows.…To perform a search across multiple files,…select the Find in Files item,…or type command shift F or control shift F on Windows.…This will take you to the search interface…
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