intellij-idea - PHPStorm 中是否有删除当前打开文件的快捷方式?

标签 intellij-idea keyboard-shortcuts phpstorm

当我使用 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/

相关文章:

java - IntelliJ IDEA 不显示成员字段

java - IntelliJ IDEA不正确运行Java项目

emacs - 使一个键表现为另一个键

c# - 什么相当于 Visual Studio Code VSCode 中的 TAB +TAB

PhpStorm 无法解析 PHPUnit 版本输出。非常奇怪的错误

xdebug - PHPStorm 调试创建空服务器定义

java - 如何在 IntellIJ 控制台 (2019.3) 中使用 ANSI 颜色输出?

intellij-idea - IntelliJ : how did I manage to get a v (check) sign next to the line numbers?

keyboard - 键盘加速键和快捷键有什么区别?

git - 在单个应用程序上具有多个开发人员的开发环境