Skip to content

VS Code Start Guide

Introduction

Visual Studio Code is a practical choice for our Usable AI course. It supports running Python notebooks and provides essential tools for project management through its integrated GitHub features. This approach makes managing code and projects straightforward without unnecessary complexity. You can also customize the editor to suit your preferences and workflow and use it across different operating systems, even remotely.

1. Downloading VS Code

To get started, download the latest version of VS Code from the official website: - Visit https://code.visualstudio.com and select the installer for your operating system. - Follow the installation instructions provided on the site. - To use python, you need to have set up Python on your machine. You can follow the instructions in the Setup Lecture.

2. Signing In for Enhanced Features

After installation: - Open VS Code and use the built-in account manager to sign in with your GitHub account. - Signing in unlocks access to repository management directly within the editor, integrates GitHub Copilot for AI-driven code suggestions, and synchronizes your settings across devices. - For further guidance, check the GitHub Authentication Guide.

3. Installing Essential Extensions

Enhance VS Code functionality by installing key extensions: - Python Extension: Provides powerful language support, debugging, and linting. Learn more at Python in VS Code. - Jupyter Extension: Enables interactive coding, allowing you to create, open, and execute Jupyter Notebooks. For further instructions, visit Using Jupyter in VS Code. - You may additionally explore other extensions related to your projects through the marketplace.

4. Key Features

VS Code comes with a range of essential features: - Jupyter Notebooks Integration: Work seamlessly with .ipynb files, allowing interactive data exploration and visualization. - Integrated Terminal: Launch a terminal within VS Code to execute commands, run scripts, or manage version control without leaving the editor. - Remote Development: Use extensions like Remote - SSH to connect to remote servers, containers, or WSL, enabling you to develop on powerful machines from a lightweight local editor. - Customizable User Interface: Tailor your workspace with themes, layouts, and keyboard shortcuts to create a personalized development environment.

5. Additional Resources & Guides

Further reading and resources to help you master VS Code: - VS Code Official Documentation - Getting Started with VS Code - Remote Development in VS Code - VS Code Tips and Tricks