Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quick QuoteNew to Visual Studio Code? Get it now.
Quick Quote

Quick Quote

Maximilien Tirard

|
2 installs
| (0) | Free
Quickly copy code snippets with file context for LLM interactions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Quick Quote

A VS Code extension that quickly copies code snippets with file context, optimized for pasting into LLM conversations.

Quick Quote Demo

Features

Select code and press the keyboard shortcut to copy it with context:

Default (Relative Path):

  • Mac: Ctrl+Cmd+C
  • Windows/Linux: Ctrl+Alt+C

Absolute Path:

  • Mac: Ctrl+Cmd+Shift+C
  • Windows/Linux: Ctrl+Alt+Shift+C

Output Format

// your code here (with common indentation removed)

path/to/file.ts:15-23

  • Code block with appropriate language identifier
  • Common indentation removed for brevity
  • File path (relative to workspace root by default)
  • Line range showing the source location

Installation

From Source

  1. Clone this repository
  2. Run npm install
  3. Run npm run compile
  4. Press F5 to open a new VS Code window with the extension loaded

Package as VSIX

npm install -g @vscode/vsce
vsce package

Then install the .vsix file via VS Code's Extensions view.

Development

  • npm run compile - Compile TypeScript
  • npm run watch - Watch for changes and recompile
  • Press F5 to start debugging

Why This Extension?

When working with LLMs like Claude Code:

  • Specificity: Providing exact file paths and line numbers helps the LLM understand context
  • Token efficiency: Removing unnecessary indentation reduces token usage
  • Workflow speed: Quick keyboard shortcuts beat manual formatting

License

MIT

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