Skip to content

The Copilot Chat view retains file context even after the file is closed #277

@nishchayrat

Description

@nishchayrat

Environment

  • OS: windows 11
  • Eclipse Version: 4.34
  • Plugin Version: 0.18.0

Describe the bug
The Copilot Chat view retains file context even after the file is closed

To Reproduce
Steps to reproduce the behavior:

1 Ensure no file is open in Eclipse. Ensure the active view is not Copilot Chat (e.g., keep the Problems view active).
2 Open a single file in the editor.
3 Switch the active view to Copilot Chat.
4 Close the file.

Expected behavior
The file context should be cleared immediately after the file is closed, regardless of when the Copilot Chat view was activated.

Additional context
If the Copilot Chat view is active before opening the file, then the context is correctly cleared upon file closure.
This indicates inconsistent behavior based on view activation timing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions