Skip to content

Code Editor Setup Guide

A code editor is a text editor built for working with files of instructions rather than documents. It gives you a file browser, a place to read and edit files, and a built-in terminal, all in one window.

It’s useful alongside your AI platform: you can see every file the AI creates or changes, organized in folders, and edit Markdown files directly. Many editors have AI built in or support AI extensions that read and edit files alongside you.

This guide covers Cursor and VS Code, and how to add AI extensions for the platforms you use.

Both options work well:

EditorBest ForCost
CursorBuilt-in AI editingFree tier available
VS CodeFamiliar editor + extensionsFree

Cursor is VS Code with AI capabilities built in.

  1. Go to cursor.com
  2. Download for your operating system
  3. Run the installer
  4. Launch Cursor

New to Cursor? The Cursor Documentation covers the interface layout, settings, and keyboard shortcuts.

  1. Go to code.visualstudio.com
  2. Download for your operating system
  3. Run the installer
  4. Launch VS Code

New to VS Code? The Getting Started guide covers the interface layout, settings, and keyboard shortcuts.

  1. Open your editor (Cursor or VS Code)
  2. Go to File → Open Folder and select any folder on your computer (e.g., your Desktop)
  3. Confirm you see the folder’s contents in the sidebar (left panel) — you should see files and subfolders listed
  4. Try clicking a file in the sidebar to open it in the editor

If the sidebar shows your files, your editor is working correctly.

Your editor has a terminal built in, so when a guide asks you to run a command, you can do it without switching windows.

The steps are the same for both Cursor and VS Code:

  1. Open Cursor or VS Code
  2. Press Ctrl + ` (the backtick key, to the left of 1 on most keyboards)
  3. A terminal panel opens at the bottom of the editor

You can also open it from the menu: Terminal > New Terminal.

Drag the top edge of the terminal panel to resize it.

After installing your editor, add AI coding extensions (small add-ons that give your editor new capabilities) for the platforms you have a paid subscription to. You don’t need all of these — just install the one(s) that match your accounts.

Requires a paid Claude plan. The Claude Code extension connects your editor to Claude’s AI capabilities.

  1. Open the Extensions panel (Cmd/Ctrl + Shift + X)
  2. Search for Claude Code
  3. Click Install
  4. Follow any sign-in prompts

The Claude Code extension also includes an integrated terminal panel. See Getting Started with Claude for Claude Code CLI setup.

Requires a paid ChatGPT plan. OpenAI’s coding assistant extension for VS Code and Cursor.

  1. Open the Extensions panel (Cmd/Ctrl + Shift + X)
  2. Search for Codex (by OpenAI)
  3. Click Install
  4. Sign in with your OpenAI account when prompted

See OpenAI Codex documentation for details.

Google’s AI coding assistant extension. Sign in with your Google account; Google’s documentation lists which plans include it.

  1. Open the Extensions panel (Cmd/Ctrl + Shift + X)
  2. Search for Gemini Code Assist
  3. Click Install
  4. Sign in with your Google account when prompted

See Gemini Code Assist documentation for details.

Editor won’t open after installation?

  • Restart your computer and try again
  • Re-download the installer from the official site and reinstall
  • On Mac, you may need to allow the app in System Settings → Privacy & Security

Extension not appearing after install?

  • Make sure you clicked Install (not just searched for it)
  • Check the Installed tab in the Extensions panel to confirm it’s listed
  • Try reloading the editor window: open the Command Palette (Cmd/Ctrl + Shift + P) and type Developer: Reload Window

Extension installed but not working?

  • Check if the extension requires sign-in — look for a notification or status bar icon
  • Some extensions need an API key or subscription (e.g., Claude Code requires a paid Claude plan)
  • Disable other AI extensions temporarily to rule out conflicts
Ask AI for help

If you’re stuck, paste this into ChatGPT, Claude, or Gemini:

I’m setting up [Cursor / VS Code] on [Mac / Windows] and running into this issue: [describe what’s happening]. I followed the installation steps from the official site. What should I try next?

Want to back up your files and keep their history? That’s optional too, and takes three pieces, in this order: