Similar to how the codeassists proxies the LSP to aquire code blocks for context, I think it would be useful if the chat interface could likewise acquire context from roughly three sources:
- Current File (+ LSP-enhanced)
- Current Selection (+ LSP-enhanced)
- Entire Project (+LSP-enhanced)
In Helix, users could bind a command to launch a chat with one of the three context levels.
This would enable uses cases like:
- "Is there a bug in this file?"
- "Write me a readme for this project"
- "What does 'myFunctionInterface' do in simple.english?"