Every time I type a URL in composer or chat, cursor adds an ‘@’ symbol and the URL is no longer editable as text. How do I disable this?
This is a feature to show you that the URL you’re pasting in is going to be crawled and form part of the context.
If you need to edit the URL, I’d suggest posting it in an empty file first and editing it there before posting it into the chat.
You can also click on the link and a menu will appear with the option “unlink” - that turns it back into editable text you can change as much as you like.
You can then go back and put an @ on the front and it’ll offer you an option to “Add link”. From experience, it’s a little janky at that point because you tend to end up with the text version there too and have to tidy it up. But it’s a reasonable alternative to using a separate editor.
Thanks. I was aware of the menu. I was hoping to avoid the extra clicks.
I’ve also discovered that if I omit the https:// part, the URL will stay editable without having to bring up a menu.
This is my biggest annoyance with cursor right now.
Cursor should just paste in the URL as text and not take special action unless a user types @ before it. This behavior would align with current behavior for pasting in text and using @ for referencing things.
The automatic @ for pasted URLs is such a headache.
You should be able to paste a URL using CMD / CTRL + Shift + V to stop Cursor from trying to evaluate it, and make it a “live” URL to look up.
Let me know if this doesn’t work for you though.
Thanks. That works, but this is still not good/intuitive UX imo.
cmd+v should work like normal and just paste the URL as text. Or we use @ prior to pasting the text if we want it to become context…like how all other context works.
Should be:
cmd+v- pastes url as text@<pasteUrl>- adds it as context
The current behavior 1.) differs from how we should expect cmd+v to work system wide, and 2.) differs from how other linked context is added b/c we otherwise always prepend with @
Thanks for the feedback, good suggestion on how the @ symbol could be used to add as context, will feed back to the team!
I’m sorry but this is not solved. Five months later and this is still current functionality.
I had to spend time googling to find this single forum post in order to figure out how to paste a URL without adding it to context.
I needed to paste a URL for the LLM to add into the code itself, the LLM should be seeing the URL as a string, not attempting to crawl it by default, which it is unable to do for most development URLs anyway!
At least add a toggle in the settings to disable this “feature” which only makes quality of life worse for developers. I think the @<URL> method is the ideal way, at least if users have toggled this feature off. Everything should follow the same design principles so that features are intuitive to the user.
As OP stated, this particular “feature” goes against the general design philosophy of Cursor, and thus is confusing. There isn’t even a clear way to paste a URL as string without knowing the secret key command.
Please fix this, it is not resolved.