Cursor IDE Tutorial Center
Step-by-step learning path to help you master AI development skills
Migrating from VS Code
Easily import VS Code configurations and quickly start using Cursor
Import VS Code Configuration
Use the built-in VS Code Import feature in Cursor Settings > General > Account to import all VS Code extensions, settings, and keyboard shortcuts with one click.
Extension and Settings Migration
Fully compatible with VS Code extension marketplace, supports one-click import of VS Code configurations and plugins. Cursor continuously updates VS Code versions to ensure you don't miss the latest features.
Keyboard Shortcut Binding
Use Ctrl/⌘ + Shift + P to open the command palette, type 'Keyboard Shortcuts' to customize shortcuts. All VS Code keyboard shortcuts can be seamlessly migrated.
Interface Layout Adjustment
The default horizontal activity bar reserves space for AI chat. For vertical layout, set workbench.activityBar.orientation to vertical in VS Code settings and restart.
Copilot++ Basics
Master the AI programming assistant more powerful than GitHub Copilot
Smart Code Completion
Understands intent based on your recent change history, providing more accurate code completion. Supports Tab to accept suggestions, Esc to reject, Ctrl/⌘ → to accept word by word.
Multi-line Code Modification
Not only inserts new code but also intelligently modifies existing code. When suggesting modifications to existing code, it displays as a diff popup on the right side of the current line.
Error Fix Suggestions
Provides fix suggestions based on linter and compiler error messages in the editor. Supports using Ctrl/⌘ + Shift + E for quick error fixes.
Basic Settings Configuration
Manage settings through the Copilot++ icon in the bottom status bar or Cursor Settings > Features > Copilot++, supporting global or language-specific enable/disable.
AI Chat Introduction
Use AI chat features to solve programming problems
Select AI Model
Defaults to OpenAI's GPT-5 model. Switch between different models (including Claude 4.5, Gemini, etc.) using Ctrl/⌘ /, selections are saved for future sessions.
Basic Conversation Techniques
Press Ctrl/⌘ + L to open and focus the AI chat panel, Enter to submit queries. Supports editing and re-running previous queries.
Code Context Understanding
Automatically includes context from the entire codebase without manual copy-pasting. Supports document indexing and web search for more accurate responses.
Common Questions & Answers
AI responses include code blocks that can be directly applied. All conversations are saved in chat history for later viewing and reuse.
AI Code Refactoring
Use Copilot++ to optimize and refactor existing code
Code Analysis Understanding
Copilot++ analyzes your coding patterns and recent change history to understand your intent and provide more context-appropriate refactoring suggestions.
Intelligent Refactoring Suggestions
Supports refactoring operations like variable renaming, function extraction, code optimization. Each keystroke or cursor movement triggers new refactoring suggestions.
Multi-line Code Modification
Can modify multiple lines of code simultaneously, ranging from one line above to two lines below the current line. Supports refactoring and optimization of entire code blocks.
Performance Optimization Tips
Provides performance optimization suggestions based on code analysis, including algorithm improvements, memory usage optimization. Supports quick optimization application through command palette.
Advanced Chat Techniques
Fully utilize AI chat features to enhance development efficiency
Web Search Integration
Enable 'Always search the web for answers' in Cursor Settings > Features > Chat to ensure getting the latest information and solutions.
Document Indexing Feature
Automatically indexes project documentation for more accurate context-aware suggestions. Supports user-specified code blocks as references.
Context Management
Choose whether to include current file as context, or set 'Default to no context' in Settings to use only user messages.
Prompt Optimization
Learn to write more effective prompts containing necessary context information for more precise AI responses. Supports saving common prompt templates.
Remote Development Configuration
Configure remote development environments and SSH connections
SSH Remote Connection
Currently supports SSH connections to Linux servers, temporarily does not support connections to Mac or Windows machines. Requires proper SSH key and permission configuration.
Environment Configuration Instructions
Detailed remote environment configuration steps, including SSH key setup, remote server requirements, and network configuration instructions.
Common Issue Resolution
Solve common issues in remote connections, such as permission errors, connection timeouts. Provides detailed troubleshooting guide.
Performance Optimization Suggestions
Suggestions for optimizing remote development performance, including file synchronization strategies, cache configuration, and network optimization techniques.
Team Best Practices
Efficiently use Cursor IDE in teams
Configuration Sharing Solution
Synchronize team configurations including extensions, shortcuts, code snippets through Settings Sync feature. Supports using Git repositories to manage team-shared Cursor configuration files.
Team Collaboration Workflow
Utilize Cursor's multi-person collaboration features, supporting real-time code review, remote pair programming. Integrates Git workflow, providing visual interface for branch management and code merging.
Code Review Integration
Deep integration with platforms like GitHub, GitLab, supporting direct viewing and processing of PR/MR in IDE. AI-assisted code review automatically detects potential issues.
Knowledge Base Construction
Use AI chat history to build team knowledge base, accumulate coding best practices. Supports exporting and sharing common code snippets, establishing team-specific code template libraries.
AI Development Workflow
Build efficient development workflows based on AI
AI Assistant Configuration
Customize AI assistant behavior patterns, including code style preferences, comment standards. Configure project-specific prompt templates to improve AI response accuracy.
Code Generation Process
Use AI to quickly generate boilerplate code, test cases, and documentation. Supports intelligent code completion based on project context, providing code suggestions that comply with team standards.
Quality Control Solution
Integrate code quality checking tools, AI automatically reviews code style and potential issues. Supports custom code quality rules to ensure team code consistency.
Efficiency Optimization Strategy
Optimize development workflows through data analysis, identify repetitive work and efficiency bottlenecks. Use AI to automate daily tasks, improve overall team development efficiency.
Enterprise Customization
Cursor IDE configuration and applications in enterprise environments
Enterprise Settings
Configure enterprise-specific AI models and servers, support private deployment. Integrate internal enterprise systems and toolchains to ensure development environment uniformity.
Security Compliance Configuration
Implement code security scanning and sensitive information detection to ensure compliance with enterprise security standards. Configure access control and audit logs to track code changes and operation records.
Team Permission Management
Role-based permission control system, manage team member access to different features. Supports integration with enterprise SSO systems for unified identity authentication.
Performance Monitoring Solution
Deploy performance monitoring systems to track IDE resource usage in real-time. Optimize loading performance for large projects, provide distributed caching solutions.