开发者

PyCharm code completion: how to prevent space key and "dot" from committing lookup item

How does one disable the space key from committing the suggestion when using code completion?

If I attempt to name something "req" for example, when I'm done typing, and enter a "space," I wind up with "request" instead -- this being just one e开发者_运维知识库xample.

I don't see it anywhere in the keymap, and have seen this mentioned in other places without any apparent solution.


There's a 'Preselect the first suggestion' option in IDE Settings | Editor | Code completion section. What is it set to? Try to use 'Smart' and 'Never' options to see which one works better for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜