Cursor 首页light logodark logo
  • 切换语言
  • 下载
  • 下载
欢迎使用 Cursor
  • Documentation
  • Forum
  • Get Help
    • Welcome to Cursor
    Get Started
    • Introduction
    • Installation
    • FAQ
    Guides
    • Editor Migration
      • Migrate from VS Code
      • Migrate from JetBrains IDEs
    • Languages & Frameworks
      • Python
      • JavaScript & TypeScript
      • iOS & macOS (Swift)
      • Java
    Editor
    • Tab
      • Overview
      • Tab vs GitHub Copilot
      • Auto-import
      • Advanced Features
    • Agent
    • Chat
      • Overview
      • Apply
    • ⌘K
      • Overview
      • Terminal Cmd K
    • AI Commit Message
    • Notepads (Beta)
    • Keyboard Shortcuts
    Context
    • Codebase Indexing
    • Rules for AI
    • @ Symbols
      • Overview
      • @Files
      • @Folders
      • @Code
      • @Docs
      • @Git
      • @Codebase
      • @Web
      • @Definitions
      • @Link
      • @Lint Errors
      • @Recent Changes
      • @Cursor Rules
      • @Notepads
      • @Summarized Composers
      • #Files
      • /command
    • Ignore Files
    • Model Context Protocol
    Account
    • Plans & Usage
    • Business
      • Get Started
      • Members + Roles
      • Analytics
      • SSO
    • Dashboard
    • Billing
    • Pricing
    • Privacy + Security
    Settings
    • Models
    • Custom API Keys
    • Early Access Program
    Troubleshooting
    • Common Issues
    • Troubleshooting Guide
    • Getting a Request ID

    @Definitions

    本文档内容均由官方文档翻译,仅供个人学习,如有错误请以官网文档为准!
    官网网址:www.cursor.com

    Add nearby code definitions to Cmd K context using the @Definitions symbol

    This feature is currently only for Cmd K.

    The @Definitions symbol adds all nearby definitions to Cmd K as context.