Complete Documentation for Cursor

Cursor documentation fully synchronizes with the official latest content, providing comprehensive learning support for Cursor users. It covers all features of Cursor, including Composer, Chat, Tab, Context, and more.

No code needed, 5 minutes to master the 2025 top AI code editor Cursor!

Cursor Documentation

Composer - Your AI Coding Assistant

Meet Composer, your intelligent coding partner that lives right in your editor. Write code, explore features, and modify existing code with AI assistance.

Agent Mode

Enable Agent to get a proactive coding partner that understands your codebase

Smart Context

Automatically pull relevant context with @Recommended and other context tools

Code Generation

Generate and modify code with AI assistance without leaving your workflow

Cursor Tab - Intelligent Code Completion

Experience a more powerful alternative to GitHub Copilot with smarter suggestions and multi-line editing capabilities.

Smart Suggestions

Get context-aware code completions that understand your recent changes

Multi-line Editing

Edit multiple lines at once with intelligent diff suggestions

Easy Integration

Works seamlessly with your existing workflow and keyboard shortcuts

Powerful Context Management

Master Cursor's comprehensive context system with @ symbols for precise control over AI interactions.

@Files & @Folders

Reference entire files or folders for comprehensive context

@Code & @Docs

Include specific code snippets and documentation in your queries

@Git & @Web

Access Git history and web resources directly in your workflow

Key Features

Discover the powerful features that make Cursor the best AI-powered code editor

Experience the future of coding with Cursor's cutting-edge AI capabilities.

Multi-Line Edits

Multi-Line Edits

Cursor can suggest multiple edits at once, saving you time.

Smart Rewrites

Smart Rewrites

Type carelessly, and Cursor will fix your mistakes.

Cursor Prediction

Cursor Prediction

Cursor predicts your next cursor position so you can seamlessly navigate your code.

Instant Apply

Instant Apply

Apply the code suggestions from chat back into your codebase by clicking the play button on top of any chat codeblock.

Codebase Answers

Codebase Answers

Use @Codebase or Ctrl Enter to ask questions about your codebase. Cursor will search your codebase to find relevant code to your query.

Reference your Code

Reference your Code

Reference code with @ symbols to be used as context for the AI. Just type @ to see a list of all the files and code symbols in your folder.

Use Images

Use Images

Hit the image button under chat or drag an image into the input box to include visual context into chat.

Ask the Web

Ask the Web

Get up-to-date information from the internet with @Web. Cursor will search the web for you and use the latest information to answer your question.

Use Documentation

Use Documentation

Reference popular libraries using @LibraryName, or add your own using @Docs → Add new doc.

Fast Edits

Fast Edits

Edit and write code with the AI. Select some code, click Ctrl K, and describe how the code should be changed. Or, generate new code with Ctrl K without selecting anything.

Terminal Ctrl K

Terminal Ctrl K

Use Ctrl K in the terminal to write terminal commands in plain english. Cursor will convert them into the terminal command you need.

Quick Questions

Quick Questions

If you have any quick questions about certain parts of your code, you can select and click on 'quick question' to get your answer right away.

What Developers Say About Cursor

See how developers are transforming their coding experience with Cursor.

"Cursor is at least a 2x improvement over Copilot. It's amazing having an AI pair programmer, and is an incredible accelerator for me and my team."

E
Ben Bernard
Engineer at Instacart

"The Cursor tab completion while coding is occasionally so magic it defies reality - about ~25% of the time it is anticipating exactly what I want to do."

E
Kevin Whinnery
Engineer at OpenAI

"The most useful AI tool that I currently pay for is, hands down, is Cursor. It's fast, autocompletes when and where you need it to, handles brackets properly, sensible keyboard shortcuts."

E
shadcn
Engineer at Vercel

"Cursor is so good, and literally gets better/more feature-rich every couple of weeks."

E
Andrew Milich
Engineer at Notion

"After many recommendations, I finally switched from VSC to Cursor and ... wow! It's absolutely incredible. If you like Copilot (or if you don't), you'll be blown away by Cursor."

F
Johannes Schickling
Founder at Prisma

"I really like how Cursor suggests edits to existing code. It noticed I was inconsistent with my markup and popped up this suggestion that matched my other items!"

F
Marc Köhlbrugge
Founder at WIP

Frequently Asked Questions

Common questions about using Cursor and its features.

Ready to Master Cursor?

Dive into our comprehensive documentation and unlock the full potential of AI-powered coding.