当我使用 Ctrl+Shift+N 导航到目录深处的文件时,我看到该文件可以删除,因此我导航到项目 Pane ,并打开所有嵌套目录,然后最后删除该文件,这很烦人。
是否有键盘快捷键可以删除当前在编辑器中打开的文件?
最佳答案
Is there a keyboard shortcut to just delete the file currently open in the editor?
不 - 错误的上下文。 “删除”将在正确的上下文中处理文件(例如项目 View );编辑文件(编辑器聚焦)时,它只会删除文本。
so I navigate to project pane, and open all the nested directories and finally delete the file, which is annoying.
导航 |选择在... |项目 View (Alt + F1, 1 在 Windows/Linux 上使用默认键盘映射)
关于intellij-idea - PHPStorm 中是否有删除当前打开文件的快捷方式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28189560/