Copilot plugin versions:
0.11.0.202508291001 com.microsoft.copilot.eclipse.feature.feature.group GitHub Copilot
0.11.0.202509130110 com.microsoft.copilot.eclipse.feature.feature.group GitHub Copilot
My Eclipse is running on Ubuntu in WSL2, with the workspace directory located at ~/workspace and containing multiple projects that are open in Eclipse. I've seen many occasions where Copilot tries to run project-related terminal commands from my user home directory instead of the proper project directory, for example attempting to run ./gradlew build without first changing to the ~/workspace/<project> directory.
This seems to be hit and miss though; this morning, I couldn't reproduce this issue with a prompt like the following: Please run a gradle build for the xyz project and fix any errors and warnings. After making changes, please run the gradle build again to verify the changes, and continue fixing any errors or warnings.. In this case, CoPilot successfully ran a command like cd /home/rsenden/workspace/xyz && ./gradlew build --warning-mode=all.
It does raise a question though; other than explicitly mentioned the project that you want to work on in the prompt, how to make Copilot aware which project you're working on? In particular with project-specific instructions, how does Copilot know which instructions to apply if you have multiple projects open?
Copilot plugin versions:
0.11.0.202508291001 com.microsoft.copilot.eclipse.feature.feature.group GitHub Copilot0.11.0.202509130110 com.microsoft.copilot.eclipse.feature.feature.group GitHub CopilotMy Eclipse is running on Ubuntu in WSL2, with the workspace directory located at
~/workspaceand containing multiple projects that are open in Eclipse. I've seen many occasions where Copilot tries to run project-related terminal commands from my user home directory instead of the proper project directory, for example attempting to run./gradlew buildwithout first changing to the~/workspace/<project>directory.This seems to be hit and miss though; this morning, I couldn't reproduce this issue with a prompt like the following:
Please run a gradle build for the xyz project and fix any errors and warnings. After making changes, please run the gradle build again to verify the changes, and continue fixing any errors or warnings.. In this case, CoPilot successfully ran a command likecd /home/rsenden/workspace/xyz && ./gradlew build --warning-mode=all.It does raise a question though; other than explicitly mentioned the project that you want to work on in the prompt, how to make Copilot aware which project you're working on? In particular with project-specific instructions, how does Copilot know which instructions to apply if you have multiple projects open?