How do I map only one key to accept a suggestion?

I'd like to be able to tab-accept the code completion suggestions in PyCharm and only use tab.

In other words I'd like Enter to NOT accept an autosuggestion and instead do a new line return, and tab to accept the code completion suggestion.

Is this possible?

2

Yes, you can remove Enter from the "Choose  lookup item" action.

1

I had the exact same question; "choose lookup item" is a really obscure name for this; I would've never known to look for this!

0

请先登录再写评论。