microsoft / microsoft/copilot-for-eclipse
The Copilot Chat view retains file context even after the file is closed
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 126
- Forks
- 60
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Eclipse Copilot Chat view and reproduce the behavior using the listed steps, especially switching to Copilot Chat before closing the file. Trace how file context is cleared on file closure and compare the two view-activation sequences. Done means the context is cleared immediately in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100