Home

Get Started with VS Code

You want to write code, but Notepad or TextEdit feels limiting. You need something that helps you code faster - with syntax highlighting, autocomplete, and built-in tools. VS Code is like a smart notebook for code - it understands what you’re writing and helps you along the way. Visual Studio Code is free, runs on any OS, and is used by millions of developers.

Key Concepts

What You’ll Need

Step 1: Download and Install VS Code

You’ll see a Welcome tab with getting started options.

Step 2: Tour the Interface

VS Code has five main areas:

Click the Explorer icon (top of Activity Bar) to see the file browser.

Step 3: Open a Folder and Explore

The Explorer sidebar now shows your folder’s files:

Step 4: Create a Markdown File

# My Project

This is a **demo project** for learning VS Code.

## Features
- Easy to edit
- Markdown formatting
- Live preview

## Next Steps
1. Add more content
2. Try other file types
3. Explore extensions

Markdown is a simple text format that uses symbols like # for headings, ** for bold, and - for lists. It’s widely used for documentation and communicating with LLMs like ChatGPT and Claude.

Step 5: Install Markdown Preview Extension

Step 6: Preview Your Markdown File

A preview panel opens showing your formatted Markdown - edit on the left, see changes on the right in real-time!

Step 7: Use the Integrated Terminal

List files:

ls

(On Windows Command Prompt, use dir)

Print working directory:

pwd

(On Windows Command Prompt, use cd)

Create a new folder:

mkdir notes

Check Explorer - the notes folder appears! The terminal runs in your project folder, so commands affect your project directly.

Step 8: Use AI Agents in VS Code (Optional)

VS Code includes GitHub Copilot Chat, an AI assistant that can explain, write, and debug code.

GitHub Copilot will analyze your file and explain what it does. You can ask it to write new code, fix bugs, or answer questions like “How do I add more features?”

Tip: For inline editing, highlight code in any file and press Ctrl+I (Windows/Linux) or Cmd+I (Mac) to ask Copilot to modify, fix, or explain just that section.

How to Reopen Your Project

Troubleshooting

The Complete Workflow

  1. Open folder in VS Code
  2. Create/edit files
  3. Use extensions to preview
  4. Use terminal for commands
  5. Use AI to understand and improve code
  6. Save and repeat

Next Steps


Created by Steven Ge on December 7, 2025.