简体   繁体   English

Intellij 快捷方式

[英]Intellij ShortCut

If my code is like the following:如果我的代码如下所示:

    public void run(){
        line 1
        ...
        line n
    }

If my cursor is at the middle of the function body, how do I quickly jump to the line of the function declaration ( public void run(){ )?如果我的 cursor 在 function 正文的中间,如何快速跳转到 function 声明的行?( public void run(){ )

It is "Previous Method" action.这是“以前的方法”动作。 B default, it is invoked by "Ctrl+Shift+Up": B 默认,由“Ctrl+Shift+Up”调用:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM