Ctrl + N 不能用作新建文件夹的热键 ... 在 Ubuntu 中 PyCharm,KDE

Ctrl + N does not work as a hotkey for New Folder ... in PyCharm in Ubuntu, KDE

我在这里有点困惑,为什么 Alt + Insert 是工作热键来调出项目工具中的下拉菜单 window 选择一种类型要创建的文件或目录,但 Ctrl + NCtrl + Alt + N 不起作用。

我没有将 Ctrl + N 绑定到 PyCharm 中的任何其他内容,并且没有其他内容(OS 或程序)应该消耗全局热键。我可以在 Firefox 中 Ctrl + N

我在 WebStorm 中遇到了同样的问题。

我正在使用:

I'm a little confused here why Alt + Insert is working hotkey for bringing up the drop down menu in the Project tool window for selecting a type of file or directory to create, but Ctrl + N or Ctrl + Alt + N don't work.

您将 Ctrl + N 快捷键分配给了错误的操作。您屏幕截图上的那个是:

  1. “创建新文件夹”操作
  2. 它只能在“文件选择器”对话框中使用。

如果您在“制作新 file/folder”弹出窗口之后,则需要将此类快捷方式分配给 File | New... 操作: