[Bug] "Load custom instructions from: projects inferred from chat-attached files" also limits the chat search tools
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- java
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Java
- 星标
- 129
- 派生
- 70
- 平均合并
- 3 天 2 小时
- 30 天内合并 PR
- 15
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/copilot-for-eclipse 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
microsoft/copilot-for-eclipse#512 ·
维护者通常 2 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 54/100
microsoft/copilot-for-eclipse#511 ·
维护者通常 2 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 48/100
microsoft/copilot-for-eclipse#510 ·
维护者通常 2 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 20/100
microsoft/copilot-for-eclipse#508 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 43/100
microsoft/copilot-for-eclipse#500 · 1 条评论 ·
维护者通常 2 天内回复
查看 microsoft/copilot-for-eclipse 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
commons-app/apps-android-commons#7275 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
liberation-data/drivine4j#682 ·
维护者通常 1 天内回复
-
Document and enforce pull request review guidelines可能已有人在做 @dashorst 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
`Time.at(t, in: nil)` returns UTC instead of the local time (or the time zone of `t`), unlike CRuby未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
hermes-queue
难度 1/5 1 小时以内 新手友好度 72/100
chrisalunlloyd2-sudo/mindpalace#349 ·
维护者通常 1 天内回复