Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 PyCharm 4.5 中,其中一项新功能被列为“临时 Python 暂存文件”。我如何创建这些?
我搜索了“新建”菜单并没有找到它。当我选择“新建...”时,我可以选择创建永久文件。
您可以通过转到“工具”->“新建暂存文件...”来创建暂存文件
这将为您提供“新的 Scratch”对话框
如果您是键盘快捷键的粉丝,则默认为Ctrl+ Alt+ Shift+ Insert。
可以通过转到“文件”->“设置”->“键盘映射”并搜索“Scratch”来修改此组合键
您可以使用帮助/查找操作菜单找到任何 PyCharm 命令!它真的很有用。
我在 Windows 上使用 PyCharm 2018.2 社区版。现在,当您右键单击项目文件夹时,可以在上下文菜单中创建一个新的临时文件,如下所示:
或者只需按Ctrl+ Alt+ Shift+Insert组合键,它会显示一个明确的上下文菜单,仅适用于暂存文件: