Skip to content

Implicit context handling in Copilot Chat #251453

Closed
@snehilshah

Description

@snehilshah

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.101.0
  • OS Version: Ubuntu 24.04.2 LTS

Improvements for the implicit context changes for the copilot chat.

  1. Current file selections are not included by default, there are many reasons when you would want the llm to only scope in the current function/block.
  2. Even by using the shortcut mentioned Shift+Tab, Enter the context cannot be fine tuned with including specific lines automatically.
  3. When you change a file the previous context (added by Shift+Tab, Enter) still remains in the list. Which also cannot be removed by Shift+Tab, Enter (it just opens that file).

Implicitly adding the current context (fine grained till line number) is a very good feature, and any other context (even the current file) can be easily added with the shortcut ctrl + /.

Suggestion to bring this feature back.

Metadata

Metadata

Assignees

Labels

candidateIssue identified as probable candidate for fixing in the next releaseverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions