Is there a [Go to file…]?

后端 未结 7 733
挽巷
挽巷 2021-01-29 17:46

In modern IDEs, there is a keyboard shortcut to open a file by typing its name without putting your hand on the mouse. For example:

  • Eclipse: Cmd|

7条回答
  •  没有蜡笔的小新
    2021-01-29 18:37

    File → Open Quickly...

    You can assign a shortcut to it in Preferences → Key Bindings. The default should be +Shift+D.

    (If you have a #include/#import, you can place the text cursor on it and press +Shift+D to fill the file name automatically.)

提交回复
热议问题