Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Cursor SuggestNew to Visual Studio Code? Get it now.
Cursor Suggest

Cursor Suggest

cursor-suggest

|
4 installs
| (0) | Free
Cursor's Tab Completion for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cursor Suggest

Bring Cursor's powerful AI-powered Tab Completion to VS Code!

Features

  • AI-Powered Completions: Get intelligent code suggestions powered by Cursor's AI
  • Multi-Language Support: Works with JavaScript, TypeScript, Python, PHP, HTML, CSS, and more
  • Fast & Efficient: Smart caching and debouncing for optimal performance
  • Easy Configuration: Simple setup with Cursor API credentials

Quick Start

1. Installation

Install from VS Code Marketplace:

  • Open VS Code
  • Go to Extensions (Ctrl+Shift+X)
  • Search for "Cursor Suggest"
  • Click Install

Or install via command line:

code --install-extension cursor-suggest.cursor-suggest

2. Get Cursor API Credentials

  1. Open Cursor IDE
  2. Press Cmd/Ctrl + Shift + P
  3. Select: Developer: Open Developer Tools for Extension Host
  4. Go to Network tab
  5. Trigger a tab completion in Cursor (press Tab)
  6. Find the StreamCpp request
  7. Copy these headers:
    • Authorization: Bearer <token> - Your Bearer Token
    • x-request-id - Request ID
    • x-session-id - Session ID
    • x-cursor-client-version - Client Version

3. Configure Extension

In VS Code:

  • Press Cmd/Ctrl + Shift + P
  • Run: Cursor Suggest: Configure API Keys
  • Enter your credentials from Step 2

Configuration

Via Settings UI

  • Open Settings (Cmd/Ctrl + ,)
  • Search for "Cursor Suggest"
  • Configure your preferences

Via settings.json

{
  "cursorSuggest.enabled": true,
  "cursorSuggest.bearerToken": "your_token_here",
  "cursorSuggest.sessionId": "your_session_id",
  "cursorSuggest.requestId": "your_request_id",
  "cursorSuggest.clientVersion": "0.42.3",
  "cursorSuggest.debounceMs": 300,
  "cursorSuggest.enableCache": true
}

Supported Languages

JavaScript, TypeScript, Python, Java, C/C++, Go, Rust, PHP, HTML, CSS, SCSS, Sass, Less, JSON, YAML, Markdown, SQL, Shell, PowerShell, C#, Ruby, Swift, Kotlin, Dart, Vue

Available Commands

  • Cursor Suggest: Enable Completions - Enable the extension
  • Cursor Suggest: Disable Completions - Disable the extension
  • Cursor Suggest: Clear Cache - Clear completion cache
  • Cursor Suggest: Configure API Keys - Set up credentials

How It Works

  1. User Types - Debounced event (300ms default)
  2. Get Code Context - Captures text before cursor
  3. Check Cache - Returns cached result if available
  4. API Call - Sends request to Cursor's StreamCpp endpoint
  5. Protobuf Encode - Encodes request in binary format
  6. HTTPS POST - Sends request to Cursor API
  7. Stream Response - Decodes streamed chunks
  8. Show Completion - Displays inline suggestion
  9. Cache Result - Stores result for future use

Troubleshooting

No completions showing

  • Check status bar icon (bottom right)
  • Verify credentials are configured
  • Check Output panel: "Cursor Suggest"

Warning icon in status bar

  • Missing API credentials
  • Run: Cursor Suggest: Configure API Keys

API errors

  • Bearer token may be expired - get new credentials from Cursor
  • Session ID may have changed - reconfigure credentials

Privacy & Security

  • Your code is sent to Cursor's API for completion generation
  • API credentials are stored locally in VS Code settings
  • No data is stored or logged by this extension
  • Please review Cursor's privacy policy for their data handling

License

MIT

Credits

Inspired by Cursor IDE's autocomplete functionality

Support

  • Report issues: https://github.com/cursor-suggest/vscode-extension/issues
  • Star on GitHub: https://github.com/cursor-suggest/vscode-extension
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft