[FEATURE] Reference code symbols as context by copy/paste from editor to chat input
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
using the claude-vscode.insertAtMention command is easy with ALT+K shorcut although it would have also be nice to have Claude commands listed in contextual menu of the editor. However in the chat input @ works to mention a file but # does not work to target a line number(s). Anyway this only allows to target lines block but no specific code symbols.
Proposed Solution
Github copilot allows to copy/paste any code symbol (var, function, class, type, ...) from the editor to the chat to add it as context. This feature in Claude vscode extension would be a real enhancement to create a more accurate context in the prompt.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Other
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗