
Thank you so much for taking the course! I'm excited to share with you everything you need to know about the most popular editor in Web Development.
You can find additional show notes in the Github repo.
https://github.com/jamesqquick/Learn-VS-Code
In the majority of the demos, I will use the repository from my FREE course on Udemy, "Build a Quiz App with HTML, CSS, and JavaScript".
https://github.com/jamesqquick/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript
What We'll Cover
What VS Code is and why you care
Language Support
VS Code Features
What We'll Cover
Stable Build vs. Insider's Build
Installing VS Code
Stable Build Download - https://code.visualstudio.com/download
Insider's Build Download - https://code.visualstudio.com/insiders/
Proxy Documentation (if necessary) - https://code.visualstudio.com/docs/setup/network
What We'll Cover
Explore VS Code layout
Discuss Activity Bar, Side Bar, Status Bar, Panels, and MiniMap
What We'll Cover
Shortcuts for opening/closing panels
Zen Mode for optimal development
the command palette
Pro Tips
ctrlCmd + Shift + B - toggle side bar
ctrlCmd + Shift + D - toggle debug panel
ctrlCmd + Shift + E - toggle file explorer panel
ctrlCmd + Shift + X - toggle extensions panel
ctrlCmd + Shift + G - toggle git panel
ctrlCmd + Shift + F - toggle search panel
ctrlCmd + Shift + P - open Command Palette
ctrlCmd + Shift + K – delete line
ctrlCmd + Shift + \ - jump to matching bracket
Command + Ctrl + Shift + Left/Right (Mac) | Shift + Alt + Left/Right (Windows) - expand/shrink selection
ctrlCmd K Z – toggle Zen Mode
What We'll Cover
Opening multiple files side by side
Displaying multiple files in Grid Tab system
Pro Tips
Working on a monitor can provide extra editing space and improve efficiency!
Drag files around to display side by side or in grid
ctrlCmd + number - switch to Nth editor group
ctrlCmd + \ - move file to split editor
What we’ll cover
Creating files in the Explorer and via Shortcuts
Tabbing through open files
Creating Multiple Workspaces
Shortcut for quickly opening files
Pro Tips
Ctrl + Tab (Mac) | Alt + Tab (Windows) – tab to next file
Ctrl + Shift + Tab (Mac) | Alt + Shift + Tab (Windows) - tab to previous file
ctrlCmd + P to quick open files
ctrlCmd + N to create new file
ctrlCmd + W to close file
ctrlCmd + S to save file
Creating a file and defining the directory path will create any missing directories automatically
What we’ll cover
Shortcuts for navigating, copying, pasting, and moving text
Multiline edits with multiple cursors
Pro Tips
Speed up key repeat and key delay to fly through code
To perform a shortcut on an entire line, you do not need to select the line itself. Most shortcuts will be applied to the entire line by default.
Option + Arrow Left/Right – Navigate word by word
Cmd + Left/Right (Mac) | Home/End (Windows) – Go to beginning/end of line
Cmd + Up/Down (Mac) | Ctrl + Home/End (Windows) – Go to beginning/end of file
ctrlCmd + D – select current word
ctrlCmd + Shift +Ctrl + Left/Right - expand/shrink selection
Alt + Up/Down - move line
Shift + Alt + Up/Down – Duplicate line
ctrlCmd + Option + Shift + Arrow Up/Down - Multiple Cursors]
What we’ll cover
Search and replace within a file
Search and replace within a workspace
Replace one at a time or all at once
Pro Tips
Selecting a piece of text and then searching (and replacing) will auto populate the search field with the copied text
ctrlCmd + F – Search in current file
Alt + Cmd + F (Mac) | Ctrl + H (Windows) – Search and replace in current file
ctrlCmd + Shift + F – Search in workspace
ctrlCmd + Shift + H – Search and replace in workspace
ctrlCmd + Alt + Enter – replace all
ctrlCmd + Shift + L – select all occurrences of current selection
ctrlCmd + F2 – select all occurrences of current selection
What we’ll cover
What intellisense is and how it can increase efficiency and speed of development
Explore built in intellisense functionality in VS Code
Pro Tips
Thanks to TypeScript typings, VS Code can provide intellisense for basic JavaScript objects like DOM elements with types parameters, valid parameter inputs options, etc.
What we’ll cover
What Emmet is and how it can speed up HTML and CSS development
Basic Emmet snippets
Pro Tips
! – Emmet shortcut to generate HTML5 boilerplate
What we’ll cover
Explore how shortcuts are managed by VS Code and customized by the developer
Creating a few custom shortcuts
Pro Tips
ctrlCmd - Command on Mac and Control on Windows. This way, you can share many of the same key bindings across Mac and Windows
ctrlCmd + K ctrlCmd + S – to open up Shortcuts page
What we’ll cover
How settings are managed by VS Code and customized by the developer
Tweaking settings to customize the editor
Pro Tips
Settings are incredibly easy and fast to customize. Spend some time trying out new settings and customizing them to fit you as a developer.
What we’ll cover
How to take advantage of Font Ligatures in VS Code
Pro Tips
Font Ligatures can provide increased readability in your code, not to mention give you a little flare!
Set editor.fontLigatures to true and editor.fontFamily to “Fira Code” to take advantage of Font Ligatures
What we’ll cover
How extensions can add functionality and customization to VS Code
Where to find and install extensions
How to enable/disable installed extensions
Popular Extensions Part 1
What we’ll cover
First set of extremely popular and useful extensions
Extensions
VS Code Extensions
Quokka
Polacode
Bracket pair Colorizer
Rainbow Brackets
Advanced New File
Auto Close Tag
Auto import (built in now?)
Auto Rename Tag
Html Tag Wrapper
Live server
Open in Browser
Vs code icons
Popular Extensions Part 2
What we’ll cover
Second set of extremely popular and useful extensions
Extensions
Better comments
JavaScript ES6 Snippets
Import cost
Dotenv
Intellisense for css classnames
Todo
Bookmarks
What we’ll cover
Third set of extremely popular and useful extensions
Extensions
React Redux Snippets
Vetur
Project Manager
Angular Extension Pack
Editor config
ES Lint
Settings Sync
Git Lens
Prettier Code Formatter
What we’ll cover
How you can synchronize your VS Code settings with the Settings Sync extensions
What we’ll cover
How to install themes to customize the look and feel of VS Code
Popular themes to choose from
Themes
Night Owl
Winter is Coming
Shades of Purple
Rainglow
One Dark Pro
Dracula
Cobalt 2
Material Theme
What we’ll cover
How code snippets are manage by VS Code
How to create and use custom snippets
Pro Tips
Create snippets for the code that you write often, using tab stops to dynamically fill in segments.
Working with Markdown
What we’ll cover
How to write and preview Markdown in VS Code
Markdown extension with extra shortcuts for working with Markdown
Pro Tips
The best Github repositories contain a detailed ReadMe.md file. Use VS Code to create your ReadMe files along with development.
ctrlCmd+ Shift + V – open markdown preview
Cmd + Shift + K V | Ctrl + K + V – open markdown preview side by side
What we’ll cover
Recognizing and removing unused variables
Organizing import statements
Refactoring code to a new file
Using the highlighted indent guide
Code folding
Renaming variables
Pro Tips
Shift + Alt + F – format document
ctrlCmd + . – to show available code actions
Command Palette -> Organize Imports – organize imports
ctrlCmd + K cntrl + C – comment current line
ctrlCmd + K cntrl + U – uncomment current line
ctrlCmd + Option [ - minimize coding folding region
ctrlCmd + Option ] - maximize coding folding region
ctrlCmd + K ctrlCmd + 0 – minimize all code folding regions
ctrlCmd + K ctrlCmd + J – maximize all code folding regions
What we’ll cover
How editor config files can be used to establish standard editor settings across multiple editors
The Editor Config for VS Code extension for VS Code to recognize and respect editor config files
Creating an editor config file to override VS Code settings and automatically format code on save
Pro Tips
Tabs vs Spaces (and so on and so on)… just pick what works for you and your team
What we’ll cover
How to install Prettier extension for VS Code
Creating a Prettier config or customizing Prettier settings for formatting code
Manually and automatically format code
Pro Tips
Find a configuration that works you and stick with it
What we’ll cover
How to install the ESLint package
How to create an ESLint configuration file and/or the install and customize ESLint extension
Manually and automatically format code
Pro Tips
Find a configuration that works you and stick with it
TSLint is now DEPRECATED.
What we’ll cover
How to open and use the Integrated Terminal
Working with multiple terminals
How to choose your integrated shell
Pro Tips
Some prefer to use an outside terminal rather than the one built into VS Code. Give the integrated terminal a try and decide for yourself.
ctrlCmd + Tilde – toggle integrated terminal
What we’ll cover
How to open and use the Integrated Terminal
Working with multiple terminals
How to choose your integrated shell
Pro Tips
Some prefer to use an outside terminal rather than the one built into VS Code. Give the integrated terminal a try and decide for yourself.
ctrlCmd + Tilde – toggle integrated terminal
What we’ll cover
How to customize shortcuts to interact with terminal windows like files in the editor(opening, closing, and switching between terminal windows)
Pro Tips
Using the above configuration can make it much quicker and easier to work with multiple terminal windows.
Built in Git Tools in VS Code
What we’ll cover
Exploring the Git source control manager panel for tracking file changes, adding and committing files, etc.
Cloning and working with remote repositories
Interpreting and leveraging the Git Status Bar
Diffing file changes
Pro Tips
The built in Git tools in VS Code are great and can quickly replace outside tools.
Clone a repository from right inside VS Code using the Command Palette (ctrlCmd + Shift + P) then Git:Clone
This is an added video where we will cover using VS Code to work with remote Github repositories by using clone, push, pull, etc.
Most of these extensions will be replaced by the Git Lens extension in the next video
What we’ll cover
Git History, Git Blame, and Git Project Manager extensions
Extensions
Git History Extension
Git Blame Extension
Git Project Manager extension
What we’ll cover
What the Git Lens extension is and how it can help supercharge your Git workflow
What we’ll cover
Exploring the features of the built in debugging tools
Learn how VS Code tracks debug configuration
Create and run a debug configuration for Client Side JavaScript
Pro Tips
True debugging is much more efficient than using console.log() statements. Spent the time to learn the tools and it will make you a better developer.
What we’ll cover
Create and run a debug configuration for Server Side JavaScript
What we’ll cover
Create and run a debug configuration Angular
Debugging Create React App Applications
What we’ll cover
Create and run a debug configuration Angular
This video will be updated when Vue 3.0 is released.
What we’ll cover
Create and run a debug configuration for Vue
What we’ll cover
How to share and edit code with others in real-time
How to share local servers and terminal windows
Pro Tips
VS Live Share is a great way to do code reviews, peer programming, etc.
When using Live Share you can decide exactly which files you want to share or not
Conclude this Visual Studio Code course by applying tips and tricks to code more proficiently in daily work. Stay connected via the newsletter for updates and courses.
This course has been completely re-recorded in 2020 to make sure you get the latest content!
In just a few years, Visual Studio Code has become the most popular editor for Web Development. In short, it is open-source, cross-platform, full of functionality, and has an amazing community behind it. Many of the biggest names in Web Development have already made the switch, and so should you! If you're looking to learn the ins and outs of VS Code while increasing your efficiency and proficiency as a developer, this course is perfect for you. Whether you're brand new to Web Development or a seasoned veteran, there's something for everyone.