Vs Code
Lab Session
VScode
IDE
VS Code
Download
Download Visual Studio Code from the official website:
download link
Choose the installer for your operating system:
- Windows (System Installer)
- macOS (Universal)
Windows Installation
Installation Steps
- Run the installer.
- Enable the following options during setup:
- Add to
PATH(Environment Variables) - Add
Open with Codeto File Explorer context menu - Register VS Code as the default editor for supported file types
- Add to
Verify PATH
Open PowerShell or Command Prompt and run:
code .Fix PATH Manually (if needed)
If the terminal reports that code is not recognized:
- Open
Edit the system environment variables. - Select
Environment Variables. - Under the Path variable, add the directory where
Code.exeis located, for example:
C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\Restart the terminal after updating.
macOS Installation
Installation Steps
- Download the
.dmgfile from here - Drag Visual Studio Code.app into the Applications folder.
Add VS Code to PATH
- Open VS Code.
- Press Command+Shift+P to open the Command Palette.
- Run:
Shell Command: Install 'code' command in PATHVerify PATH
Open Terminal and run:
code .Recommended Extensions
Python Development
- Python
- Pylance
- Jupyter
Git and GitHub
- GitLens
- GitHub Pull Requests and Issues
Containers and Development Environments
- Docker
- Dev Containers (Remote Containers)
Markdown and Documentation
- Markdown All in One
- Markdown Preview Enhanced
- YAML
Productivity
- Project Manager
- Better Comments
- Code Spell Checker