getcursor / cursor

The AI Code Editor
https://cursor.com
25.45k stars 1.58k forks source link

Cursor Tab conflict with intelligent perception #2380

Closed a81n9 closed 1 week ago

a81n9 commented 1 week ago

Cursor Tab conflicts with intelligent perception. When I press tab, I will automatically accept Cursor's suggestions instead But I just want to accept the advice of intelligent perception

Just like this image

Is there any way to avoid this happening?

Natural-selection1 commented 1 week ago

Hi,Bro.You can keep the "Editor:Accept Suggestion On Enter" on.So that when you only want to accept the advice of intelligent perception , just hit Enter.

a81n9 commented 1 week ago

Hi,Bro.You can keep the "Editor:Accept Suggestion On Enter" on.So that when you only want to accept the advice of intelligent perception , just hit Enter.

Because I want to use the Enter to line break, so I have to set up "editor.acceptSuggestionOnEnter": "off"

Natural-selection1 commented 1 week ago

Hi,Bro.You can keep the "Editor:Accept Suggestion On Enter" on.So that when you only want to accept the advice of intelligent perception , just hit Enter.

Because I want to use the Enter to line break, so I have to set up "editor.acceptSuggestionOnEnter": "off"

My “editor.acceptSuggestionOnEnter” is “on”。But I noticed that between “on” and “off” there is also a “smart” you can choose,maybe you can have a try?

a81n9 commented 1 week ago

Hi,Bro.You can keep the "Editor:Accept Suggestion On Enter" on.So that when you only want to accept the advice of intelligent perception , just hit Enter.

Because I want to use the Enter to line break, so I have to set up "editor.acceptSuggestionOnEnter": "off"

My “editor.acceptSuggestionOnEnter” is “on”。But I noticed that between “on” and “off” there is also a “smart” you can choose,maybe you can have a try?

Okay, thank you for your reply

a81n9 commented 1 week ago

I now set "editor.acceptSuggestionOnEnter": "on" so that I need to accept default suggestions with Enter, accept cursor suggestions with Tab, and newline with Ctrl+Enter

a81n9 commented 1 week ago

Hi,Bro.You can keep the "Editor:Accept Suggestion On Enter" on.So that when you only want to accept the advice of intelligent perception , just hit Enter.

Because I want to use the Enter to line break, so I have to set up "editor.acceptSuggestionOnEnter": "off"

My “editor.acceptSuggestionOnEnter” is “on”。But I noticed that between “on” and “off” there is also a “smart” you can choose,maybe you can have a try?

Yes, setting editor.acceptSuggestionOnEnter": "smart" is also very good