Multi content root not working with GitHub Copilot plugin

Answered
www/
├── folder_a/
├── folder_b/
├── ...

I had a PHHPSTORM project open on the folder "folder_b".
Since I have 2 different folders (2 git repositories), and in order to be able to use the "*.instructions.md" files, I added the root content: "folder_a".

 

But this did not add the "folder_a" folder to the Github Copilot workspace.
Worse, it replaced the "folder_b" folder in the Github Copilot workspace with "folder_a".

When I ask the question:

  • What are the root folders of the workspace that you know (that phpstorm provides to you)?

It gives me the subfolders of "folder_a" and replies:

  • All these folders and files at the root of the workspace folder_a are accessible for reading, modification, or the creation of new files as needed for the project.
0
1 comment

Since the plugin is developed by a third party, this and other possible problems with its functionality are best reported to the plugin owners directly. You can report it on the plugin's issue tracker: https://github.com/microsoft/copilot-intellij-feedback/issues.

Another thing I would suggest is updating the plugin or downgrading to an earlier version. Sometimes the issue can already be fixed in a newer version of the plugin, or it could be a recent regression.

Sorry for the inconvenience.

0

Please sign in to leave a comment.