Open files in auto suggestion context #3861
Labels
area:autocomplete
Relates to the auto complete feature
kind:enhancement
Indicates a new feature request, imrovement, or extension
"needs-triage"
priority:medium
Indicates medium priority
Validations
Problem
I frequently have to convert code from one programming language to another. As a result I have two files open side by side and am rewriting one from one language into another. Autosuggest is only attempting to suggest the next line based on the context of the surrounding lines, not necessarily a related file.
Solution
It would be improve the LLM's response if the context also included open files in the autosuggestion. Not only attempts to include relevant imports but also relevant open files. As is, I have to copy and paste the file into a comment above or use the chat function.
The text was updated successfully, but these errors were encountered: