News for hackers. Stuff that matters.
Re:Copilot Chat in VS Code is now open source by gatienboquet on Friday June 27, 2025 @04:42PM (#44400061)
Here's the system Prompt Template they use : https://github.com/microsoft/vscode-copilot-chat/blob/4c72d6...
Re:Copilot Chat in VS Code is now open source by rob-olmos on Friday June 27, 2025 @04:48PM (#44400090)
"- cursor position marked as ${CURSOR_TAG}: Indicates where the developer's cursor is currently located, which can be crucial for understanding what part of the code they are focusing on."

I was not aware that was a thing and useful to know. Thanks!

Re:Copilot Chat in VS Code is now open source by mathgeek on Friday June 27, 2025 @06:06PM (#44400693)
Interesting to hear how others use these tools. I often phrase things as “this line/method” which implies the tool knows where my cursor is.
Re:Copilot Chat in VS Code is now open source by al_borland on Friday June 27, 2025 @07:25PM (#44401207)
I use the in-line prompt when I’m talking about a specific area. In the chat I always explained in words what part of the code I’m talking about. This tidbit of information will change how I use chat.
Re:Copilot Chat in VS Code is now open source by blitzar on Friday June 27, 2025 @05:26PM (#44400392)
Isn't that needed for the tab completion?
Re:Copilot Chat in VS Code is now open source by BigGreenJorts on Saturday June 28, 2025 @12:26AM (#44402297)
I assumed they had this already, but I began to suspect it didn't actually exist. Disappointed to learn I was right bc half the time copilot pretends it can't read my code and at all asks me to go look for stuff in the code.