Making the plugin agent friendly. #4715
-
|
This is my current build skills for copilot Notice the pleading! Not matter what I do copilot seems to drop back to trying to run cmake from the command line. I tried interrogating it about run_vscode_command and it tells me the following. So it seems the only way to get cmake tools running cmake within copilot is to use vscode_run_command but there is negative pressure from the system prompt telling copilot NOT to use vscode_run_command except for new workspace creation. I'm not sure what the solution is here. Sometimes it runs the command in visual studio code sometimes it tries to run cmake from the terminal. This causes agents loops to fail often because running from the command line doesn't get the same context as running cmake: build as a command |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I added a draft PR to solve this. |
Beta Was this translation helpful? Give feedback.
-
|
@bradphelan Thank you so much for your contributions. The good news is that part of this gap has already been addressed. You can try these out via the new C++ DevTools extension that ships apart along with CMake Tools. It extends capabilities to Build and Test with CMake so that instead of relying on generic run in terminal calls, Copilot can now invoke CMake based on your build configurations. We’d love if you could try this out and let us know if you have any feedback or improvements you’d like to see! |
Beta Was this translation helpful? Give feedback.
I added a draft PR to solve this.
#4716