Do not hijack code shortcut

I do not know if this is due to an update, but Cursor has hijacked my ‘code’ command without permission!

Y’know what, why don’t you guys just DISABLE THIS FEATURE ENTIRELY.
Stick to using the ‘cursor’ command, or try ‘curs’ if you’re too lazy to type.

This guy on the GitHub reported this problem last year. It’s been around. Just stop it!

Let this be a lesson! This is 3 different reports for the likely same problem. Nobody want this.

I seem to recall I had this problem once before, and the issue was that Cursor edits the PATH variable by prepending it, instead of appending to the end of the thing, so the code.cmd shortcut ALWAYS takes precedence, simply by existing in the path.

User variables:


System variables:

(Looks like you guys have bugged installer code that adds duplicate paths, as well)

1 Like

It’s been very annoying. sometimes cursor update failed, so I have to reinstall cursor, and then I’ll need to go through this process again

1 Like

In my original post, I posited that the error is due to PATH variable. In the screenshots in the post, you could see that VScode is prioritized, within the user PATH. HOWEVER, as you can see in the below screenshot, where.exe shows cursor’s path is being prioritized. This is because the system PATH variable is prioritized over the user PATH variable. You guys need to stop adding cursor to SYSTEM path. You can see that I installed cursor to MY USER, not to ALL USERS.

“In Windows, the PATH variable is a combined result of system and user variables, with the system path searched first, then the user path, and the order of entries within each matters.”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.