Resource 05 · Official Docs

Cursor Documentation

Documentation of Cursor, an AI-first code editor based on VS Code, which most CS students would probably find easiest to enter vibe coding with.

Cursor IDE Documentation

Official Docs

Documentation for Cursor, an AI-enabled fork of VS Code with smart autocomplete, multilanguage support, inline chat, and project level configuration via the .cursorrules file.

What Is This Resource?

Cursor is an AI-based code editor running on top of VS Code, but with more emphasis on AI features than VS Code itself ever had. All of your extensions, theme, keyboard shortcuts, and settings are inherited, but the AI functions themselves go above and beyond what GitHub Copilot offers.

While VS Code is basically a text editor that got some AI functionality added after the fact, Cursor was designed from the ground up to be an AI-native editor. This means the documentation not only explains each of the features it offers, but shows you how to use the tool as an intelligent coding companion, turning your English prompts into actual code. For most CS students already using VS Code, Cursor is going to be easiest to get started with.

Content & Scope

Documentation of Cursor's main AI capabilities and configuration options that make them work:

  • Tab autocomplete: AI-driven next line and multi-line predictions while typing.
  • Composer (Ctrl+Shift+I): a multi-language AI editor. Explain what you want to be changed and Cursor will edit multiple files as needed.
  • Inline chat (Ctrl+K): request a change in the selected code snippet without leaving the editor.
  • Chat window: hold longer conversations about your code while seeing everything side by side.
  • .cursorrules: project-level configuration for infusing coding style and requirements into your prompts.
  • Model selection: select between GPT-4o, Claude 3.5 Sonnet, and other language models per feature.
  • YOLO mode: allow Cursor to run terminal commands on its own (use with care).
  • Full documentation of available keyboard shortcuts and customization.

Relevance for CS Students

Being a fork of VS Code, Cursor makes a great introduction tool for absolute beginners. Pretty much every potential barrier to getting started has been addressed. You can simply install Cursor, import your existing VS Code profile and start making use of all the AI functions within minutes, with no extra steps required.

Not only easy to get started with, but also immensely useful for student projects. You describe any feature you want implemented or created in plain English in the Composer tab and Cursor does everything else. The .cursorrules file is very handy for teamwork, where you write your requirements only once and they are applied everywhere automatically for the rest of the project.

Tips for Effective Use

In order to utilize Cursor as effectively as possible from the first use:

  1. Always set up your .cursorrules file for each project you are working on. In your project directory, create a file named .cursorrules with five to ten statements explaining your project, code style, and expectations. One simple step can have a great impact on your results.
  2. If the change requires working in multiple files, go with the Composer (Ctrl+Shift+I) tool and explain what you want done in simple English. Most users underestimate this feature.
  3. If your task requires only changing or editing a few lines of code, use the inline chat (Ctrl+K).
  4. When Composer gives incorrect results, don't restart the prompt from scratch. Instead, reject the answer and fine-tune the prompt before trying again. Iteration wins over a total re-start.
  5. Take a look at the .cursorrules page in the documentation. There are links to community-written examples for popular tech stacks such as Next.js, FastAPI, and Django.