cursor
cursor copied to clipboard
My editor's enter is disabled
since i update to version 0.2.1,i can't click enter to wrap maybe it is conflict with plugins ,when i delete all the cursor profile , it is going right
ctrl + enter is no problem
could you send a screenshot or screen recording of where this happens?
Duplicate of #480, but will leave open as the source of the bug may be different to the other user.
I am using Intel Mac, do not possess any Enter keybindings that conflicts in my Cursor IDE and confirm that the Enter key is not working.
I‘m sure that i encountered the problem,sorry about that i cant reproduce this issue,the plugins i was installed included Volar and some vscode themes,hope it can help you
OK, I think I figured out what is going on. When the application launches, the cursor is sitting in the "Chat about the current code file" (as if that was the state when I closed the editor, perhaps?).
I can click in my .txt file open, for instance, and Enter is ignored. Ctrl-Enter behaves as expected, but Enter is ignored.
I can close the workspace and open a different one, and the Enter there works fine. So it is related to this one workspace. I can even reload the problem workspace and the "Enter ignored" issue returns.
I then closed the app and deleted the AppData\Roaming\Cursor\User\workspaceStorage[guid] for the problem workspace, then re-launched the app and I could re-open the .txt file and Enter works fine.
I also learned, after restoring the directory, that I only needed to click on the Chats icon (clock / rewind type icon), and that would do something that would change the state, and from there I could use Enter in my .txt file again, without deleting anything.
I have archived the entire AppData\Roaming\Cursor directory and can restore to the "Enter ignored" state on demand, for further troubleshooting if this does not provide enough clues to identify the root cause.
Sounds like something for deeper investigation @truell20
me too
me too
You might be able to help confirm a workaround I found to when this happened to me.
Is this occurring with just one workspace? i.e., if you open a new workspace, or open a different workspace, does that "Enter ignored" issue occur there as well?
Either way, when you find the "Enter ignored" issue, Would you mind trying this? Click on the Chats icon (the icon in the top right with the clock + rewind icon).
Does doing that suddenly free up your Enter key?
Also, I see Cursor v0.2.3 was released. I won't be at the computer where I had the issue until later Monday, but I will be checking to see if opening a workspace with this issue (but in v0.2.3) has any different result.
OK, I think I figured out what is going on. When the application launches, the cursor is sitting in the "Chat about the current code file" (as if that was the state when I closed the editor, perhaps?).
I can click in my .txt file open, for instance, and Enter is ignored. Ctrl-Enter behaves as expected, but Enter is ignored.
I can close the workspace and open a different one, and the Enter there works fine. So it is related to this one workspace. I can even reload the problem workspace and the "Enter ignored" issue returns.
I then closed the app and deleted the AppData\Roaming\Cursor\User\workspaceStorage[guid] for the problem workspace, then re-launched the app and I could re-open the .txt file and Enter works fine.
I also learned, after restoring the directory, that I only needed to click on the Chats icon (clock / rewind type icon), and that would do something that would change the state, and from there I could use Enter in my .txt file again, without deleting anything.
I have archived the entire AppData\Roaming\Cursor directory and can restore to the "Enter ignored" state on demand, for further troubleshooting if this does not provide enough clues to identify the root cause.
Thanks for sharing. I had the same problem, and fixed it now.
I am able to confirm that this issue persists with v0.2.7, at least when trying to open a workspace where the "enter ignored" issue had previously been encountered.
I dug a little further.
The only difference in that workspace's database (workspaceStorage) that results from clicking on the Chats icon (the icon in the top right with the clock + rewind icon) is that in the json for the ItemTable.workbench.panel.aichat.view.aichat.chatdata there is an entry: "displayTabs": true
Simply setting that to false permits the Enter key to resume being recognized.
I'm not sure what had set this to true, but it appears that in any workspace, simply setting this displayTabs to true will introduce this same "Enter ignored" behavior in that workspace as well.
I don't know if Cursor is supposed to properly accommodate this "displayTabs: true" scenario, but today, that will result in the Enter key to be ignored.