[Bug] "Load custom instructions from: projects inferred from chat-attached files" also limits the chat search tools
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 52/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- java
- Domaine
- developer-experience
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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.
- Langage dominant
- Java
- Étoiles
- 129
- Forks
- 70
- Merge moyen
- 3 j 2 h
- PR mergées (30 j)
- 15
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoft/copilot-for-eclipse
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
microsoft/copilot-for-eclipse#512 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 54/100
microsoft/copilot-for-eclipse#511 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
microsoft/copilot-for-eclipse#510 ·
Les mainteneurs répondent en général sous 2 jours
-
enhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 20/100
microsoft/copilot-for-eclipse#508 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 4/5 3-5 jours Accessibilité débutants 43/100
microsoft/copilot-for-eclipse#500 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de microsoft/copilot-for-eclipse
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
commons-app/apps-android-commons#7275 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
liberation-data/drivine4j#682 ·
Les mainteneurs répondent en général sous 1 jour
-
Document and enforce pull request review guidelinesPeut-être pris @dashorst l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
`Time.at(t, in: nil)` returns UTC instead of the local time (or the time zone of `t`), unlike CRubyOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
hermes-queue
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
chrisalunlloyd2-sudo/mindpalace#349 ·
Les mainteneurs répondent en général sous 1 jour