I created a small VS extension to mimic the /ide support between copilot-cli and VSCode. So when you have the same folder opened in copilot-cli and a solution in your VS, copilot-cli auto-connects and knows your current selection and your compilation diagnostics.

This makes interactions such as “extract my selection to a method” easier.

(Support for diffs isn't perfect yet).

https://github.com/sailro/CopilotCliIde