Visual Studio Code Extensions
Introduction
Visual Studio Code is one of the most often used code editors largly due to the number of extensions available for it. What is an extension? It is a small applicaton that can be added to the main application to give it enhanced functionality. There are thousands of extensions for many languages and tools. There are a few extensions listed below that you should install for use in our class.
Extensions
Here are several extensions that are recommended for working with Node, Express, EJS, and SQL in our class. To add these extensions, click on the extensions button and then, type their names in the provided search box. Click on the "Install" button for each tool to add it.
- Prettier (by Prettier) - use to format code for better readability.
- EJS language support (by DigitalBrainstem) - add EJS code hinting to speed up EJS code writing.
- File Utils (by Steffen Leistner) - adds functionality to the File Manager panel.
- SqlTools (by Matheus Teizeira) - for interacting with databases and writing queries.
- SQLTools PostgreSQL/Cockroach Driver (by Matheus Teixeira) - allows for VS Code communications with PostgreSQL database during development.
- JavaScript (ES6) code snippets (by charalampos karypidis) - Useful when writing modern JavaScript.
Keyboard Shortcuts
Many times tasks can be accomplished using keyboard shortcuts instead of using a mouse. VS Code has a large list of shortcuts that can be found in the Help > Keyboard Shortcut Reference
menu. However, it is very large and can be overwhelming.
Instead, a shorter version has been created that features only those commands (both operating system and VS Code) shortcuts that seem to be used often. Download and print this shortened list of keyboard shortcuts and learn them to save yourself time and energy.