Beginner's Guide to VS Code & AI Editors
Why Visual Studio Code (VS Code)?
VS Code is the foundation of modern web development. It works on every OS, supports every language, and defines the standard for what a code editor should look like. However, in 2025, the landscape has shifted toward AI-Native editors that are built on top of VS Code.
📥 Installation
Windows
- Go to code.visualstudio.com
- Click the "Download for Windows" button
- Run the downloaded installer (
.exefile) - Follow the installation wizard (you can accept all default options)
- Launch VS Code from the Start menu
macOS
- Go to code.visualstudio.com
- Click the "Download for Mac" button
- Open the downloaded
.zipfile - Drag Visual Studio Code to your Applications folder
- Launch VS Code from Applications or Spotlight
Linux
- Go to code.visualstudio.com
- Click the "Download .deb" or "Download .rpm" button (depending on your distribution)
- Install using your package manager:
- Debian/Ubuntu:
sudo dpkg -i code_*.deb && sudo apt-get install -f - Fedora/RHEL:
sudo rpm -ivh code-*.rpm
- Debian/Ubuntu:
- Launch VS Code from your applications menu
🎯 Basic Features
Opening a Folder/Project
- Click File → Open Folder (or press
Ctrl+K Ctrl+Oon Windows/Linux,Cmd+K Cmd+Oon Mac) - Navigate to your project folder
- Click Select Folder
Creating a New File
- Click the New File icon in the Explorer sidebar (looks like a document with a +)
- Or press
Ctrl+N(Windows/Linux) orCmd+N(Mac) - Or right-click in the Explorer sidebar and select New File
Opening the Terminal
- Press
Ctrl+`(backtick key) on Windows/Linux - Press
Cmd+`on Mac - Or go to Terminal → New Terminal from the menu
Useful Keyboard Shortcuts
| Action | Windows/Linux | macOS |
|---|---|---|
| Open Command Palette | Ctrl+Shift+P | Cmd+Shift+P |
| Save File | Ctrl+S | Cmd+S |
| Find in File | Ctrl+F | Cmd+F |
| Find in All Files | Ctrl+Shift+F | Cmd+Shift+F |
| Go to Line | Ctrl+G | Cmd+G |
| Toggle Terminal | Ctrl+` | Cmd+` |
| Split Editor | Ctrl+\ | Cmd+\ |
| Close Tab | Ctrl+W | Cmd+W |
Command Palette
The Command Palette is your best friend! Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open it. From here you can:
- Install extensions
- Change themes
- Run commands
- Navigate files
- And much more!
🔌 Extensions
Extensions add extra functionality to VS Code.
How to Install Extensions
- Click the Extensions icon in the sidebar (looks like four squares)
- Search for the extension name
- Click Install
Useful Extensions
These give you IntelliSense (autocompletion) while you code.
The New Standard (AI-Native Editors)
In a hackathon, speed is your most valuable resource. These are standalone editors that are VS Code under the hood (same extensions, same hotkeys), but they have AI baked into the engine. They both offer Tab Autocomplete (predicting your next edit) and Agents (chatbots that know your codebase).
In both of the following editors, hitting Ctrl+L opens the agent (ChatGPT-like interface), and hitting Ctrl+K while selecting a block of code lets you give AI a prompt to edit the code.
Cursor
Download: cursor.com
Windsurf
Download: windsurf.com
💡 Tips for Hackathons
- Use the integrated terminal - No need to switch between windows!
- Split your editor - View multiple files side-by-side (
Ctrl+\orCmd+\) - Customize your theme - Go to File → Preferences → Color Theme (or
Ctrl+K Ctrl+T) - Enable auto-save - Go to File → Auto Save to never lose your work
- Use IntelliSense - VS Code will suggest code completions as you type (press
Ctrl+Spaceto trigger manually)
🆘 Getting Help
- VS Code Documentation: code.visualstudio.com/docs
- Keyboard Shortcuts Reference: Press
Ctrl+K Ctrl+S(orCmd+K Cmd+Son Mac) - Ask mentors - Don't hesitate to ask for help during the hackathon!
Happy coding! 🚀