AI Learning Hub › Learn AI › Self-Paced Courses › Cursor: Plan, Build, Debug, and Review › Two Editors, One Project

Module 1 ยท Beginner to intermediate

Two Editors, One Project

Your project is a folder of files with a history. Cursor and VS Code both open that folder, each keeping its own settings, extensions and agent configuration.

By the end

  • Open the same project in Cursor and in VS Code and see one set of files
  • Say which parts of your setup travel with the project and which belong to the application
  • Explain where Cursor gets extensions, and why a familiar one might be missing

Cursor is built on the VS Code codebase, which is why so much of it looks familiar: the file tree on the left, the editor in the middle, the command palette, the same keyboard shortcuts. Cursor’s own documentation describes rebasing onto newer VS Code releases over time, usually running slightly behind the current one.

What Cursor adds is a set of surfaces of its own: an agent you can talk to, a model picker, settings that govern what the agent may do, and a place to review what it changed. Those are the subject of the rest of this course. This module is about the thing underneath all of it, which is the project.

The project is a folder

When you open a project in either application, you are opening a folder on your disk. The files are yours. The change history, if the folder is a Git repository, is stored inside that folder too, in a hidden .git directory. Neither editor owns any of it.

This has a practical consequence worth knowing before you start trusting an agent with your work: you can close Cursor, open the same folder in VS Code, and everything is there. The reverse holds as well. Two applications, one set of files.

Travels with the project

Your source files. The Git repository and its history. A .vscode folder of workspace settings, which Cursor understands because it inherits the convention. An AGENTS.md, which you will write in Module 8.

Belongs to the application

Your personal settings, your keyboard shortcuts, your theme, and your installed extensions. Cursor and VS Code keep these in separate places, so installing something in one leaves the other untouched.

Cursor-specific, inside the project

A .cursor folder, and a .cursorignore file if you create one. These sit in the project directory and mean nothing to VS Code. Module 3 covers the ignore file.

Cursor creates an empty .cursor folder in a project the first time it opens one. An empty directory is invisible to Git, so it will not appear in your change list, and it is not something the agent did to your work.

Exercise: one project, two windows

If you have not already, download the practice project and unzip it. You will get a folder named cursor-practice holding the page, its stylesheet, its script, a README, a notes file, and a fallback folder you will not need until Module 5. Open that folder in Cursor.

Find index.html in the file tree and open it. Near the top is the page heading:

<h1>Civic Resource Finder</h1>

Change the words to Rivermont Resource Finder and save. Now open the same folder in VS Code and look at index.html there. Your change is in it, because there is only one file.

While you are in VS Code, make a second small change: find the line below the heading that begins <p class="tagline"> and add the words Updated October 2026. to the end of the sentence. Save, switch back to Cursor, and look again.

If Cursor is already showing the file when you switch, you may need to click into the window before the editor refreshes. Two applications watching one folder is an ordinary arrangement, and each notices changes on its own schedule.

Finally, look at the source control view in either application, or run git status in a terminal. One file is listed as modified, and both editors agree about it, because both are reading the same repository.

Undo your two edits before moving on. Deleting the folder and unzipping the download again always works, and is the reset the rest of this course assumes.

There is also a quicker way, because the project arrives with a change history already in it. In a terminal in the project folder:

git checkout -- .
What that command does

It discards changes you have not committed and restores the files to the last recorded state. The practice project ships with one commit, so this returns it to how it arrived.

You do not need to know Git to take this course — unzipping again does the same job. It is worth having the history here because Module 6 compares it with the recovery Cursor offers you. GitHub Without the Jargon teaches the model behind it properly.

Extensions come from a different place

Cursor installs third-party extensions from the Open VSX registry rather than the Microsoft marketplace that VS Code uses. Many widely used extensions are published in both, and Cursor also ships its own builds of some popular ones. Others are absent, because an extension only appears in a registry if someone publishes it there.

Two things follow. If an extension you rely on is missing, that is the reason, and it is worth checking before you assume a setting is wrong. And because the registries are separate, the same extension identifier can point at a different publisher in each one. Cursor’s documentation puts it plainly: treat extension identifiers the way you would treat a dependency, and install from publishers you trust.

Installing an extension in one application does not install it in the other. Cursor offers a one-click import of your VS Code settings, keybindings, themes and extensions, under its account settings. You do not need it for this course, and the practice project uses no extensions at all.

Everything from here on happens in the practice project. The content is fictional and there are no credentials or personal records in it, which is what makes it a reasonable place to let an agent write files. Keep Stanford work out of it — Before You Use Cursor for SLS Work covers what to check first.

Before the next module

  • The practice project opens in Cursor and shows five files
  • You have edited a file by hand and seen the change in both applications
  • git status reports a clean working tree after your reset