Hacker News new | ask | show | jobs
by rob-olmos 360 days ago
"- 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!

3 comments

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.
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.
Isn't that needed for the tab completion?
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.