Skip to content

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

Open

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.

Activity

  1. added
    bug
    on Jun 5, 2026
  2. added
    help wanted
    good first issue
    on Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions