Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Context Collector Claude CodeNew to Visual Studio Code? Get it now.
Context Collector Claude Code

Context Collector Claude Code

Krishna Gupta

| (0) | Free
Capture multiple code selections with file paths & line numbers as context for Claude Code — like Cursor's Antigravity feature.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Context Collector

A VSCode extension that replicates Cursor's Antigravity feature — select code, press a hotkey, and accumulate multiple snippets as formatted context for Claude.

How it works

  1. Select code in the editor
  2. Press Ctrl+Shift+L
  3. Code snippet is added to the context collector

Visual Example

Example Context Chip

Limitations

Currently, VSCode and the "Claude Code for VS Code" extension lack an API for custom context chips similar to Antigravity. Snippets are inserted as plain text (e.g., {{@readme.md#15-16}}).

Features

  • Context Locator: Use the Context Collector UI to view all collected snippets
  • Navigation: Press Ctrl and click a snippet to highlight and open it in the editor

Contributing

If you've found a solution for displaying context chips with proper UI and navigation, please open a pull request on GitHub. Contributions are welcome.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft