How to configure PyCharm for automatic code completion without ^space?(如何配置 PyCharm 以在没有 ^space 的情况下自动完成代码?)
问题描述
在 PyCharm 中输入时,我曾经自动获得代码完成建议,而无需按 Ctrl+Space.
When typing in PyCharm, I used to automatically get code-completion suggestions without having to hit Ctrl+Space.
我一定是不小心(不确定如何)更改了我的配置来禁用它,因为现在我必须按 Ctrl+Space 才能看到建议列表.
I must have accidentally (not sure how) changed my configuration to disable this, because now I have to hit Ctrl+Space to see the suggestion list.
之前,当尝试从随机导入 randrange 时,我会输入:
Before, when trying to import randrange from random, I would type:
from ra
并会自动获得一个选项列表,包括 ra.
and would automatically get a list of options including ra.
推荐答案
在 Settings ▶ Editor ▶ Code Completion 勾选 ☑自动弹出代码完成.
In Settings ▶ Editor ▶ Code Completion check ☑ Autopopup code completion.
这是来自 IDEA 的屏幕截图,我很确定这是整个事情的默认设置.PyCharm 应该差不多.
Here's a screenshot from IDEA with what I'm pretty sure are the defaults for that whole thing. PyCharm should be about the same.
这篇关于如何配置 PyCharm 以在没有 ^space 的情况下自动完成代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何配置 PyCharm 以在没有 ^space 的情况下自动完成
基础教程推荐
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
