[Bug] "Load custom instructions from: projects inferred from chat-attached files" also limits the chat search tools
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- java
- Domain
- developer-experience
Research direction
Start by tracing how the plugin sends workspaceFolders in conversation/create and conversation/turn, then check how the language server uses that list for customization loading and search scope. The issue names no source files or tests, so first locate those entry points and any related tests. Done means the preference limits customization files while grep_search and file_search still cover all open projects.
Written by the indexing model from the issue text.
Description
Environment
- OS: RHEL 9.6
- Eclipse Version: 2025-12
- Plugin Version: 0.18.0 or later, tested with 0.21.0 and a later nightly build with PR 504.
Describe the bug
The preference "Load custom instructions from" (Preferences → Copilot → Custom Instructions, added in #136) is
meant to limit where custom instructions are loaded from. With "projects inferred from chat-attached files", it
also limits the search tools: grep_search and file_search only search the projects of the current file and
attached references.
Cause: the plugin sends only these projects as workspaceFolders with conversation/create and
conversation/turn. The language server uses this one list for customization files and for the search tools.
To Reproduce
- Open a workspace where project B uses classes from project A.
- Set "Load custom instructions from" to "projects inferred from chat-attached files".
- Open a file from project A and ask in a new chat: "Find all usages of this class in the workspace."
- Only project A is searched. The agent reports that it only has project A as a workspace folder.
Expected behavior
The setting only limits where custom instructions, skills and prompt files are loaded from. Search covers all
open projects.
What might fix it
Let the language server accept separate folder lists for customization files and for the search
scope.
Additional context
Note, if I set the Copilot preference to "Load custom instructions from all projects in workspace" having about 40 projects in my workspace, then trying to search for files in the workspace folders hits the "Task queue limit of 20 reached" problem with a single search request. See discussion in #62 for the original reasons for implementing PR #136 and related issues #24 and #40.
- Dominant language
- Java
- Stars
- 128
- Forks
- 70
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from microsoft/copilot-for-eclipse
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/copilot-for-eclipse#522 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
microsoft/copilot-for-eclipse#521 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 30/100
microsoft/copilot-for-eclipse#519 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/copilot-for-eclipse#518 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/copilot-for-eclipse#512 ·
All issues in microsoft/copilot-for-eclipse
Similar issues
-
JPA security login throws when the stored password or roles string is nullPossibly taken @SebTardif claimed this today. Openarea/security env/windows
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
quarkusio/quarkus#58548 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
marchof/java-almanac#354 ·
-
bug posit-ai
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
linkedin/shaky-android#103 ·