Eclipse keyboard shortcut: goto function name

后端 未结 10 2166
生来不讨喜
生来不讨喜 2020-12-12 23:29

Suppose I know a function name, but I don\'t know which file it\'s declared in. What Eclipse keyboard shortcut can take me to the function I\'m looking for?


Wh

10条回答
  •  孤城傲影
    2020-12-13 00:25

    Not exactly a direct shortcut, but you need to go through the Java Search dialog:

    (Ctrl+H):

    (Sergei mentions in the comments that you might have to select "Declarations" in the "Limit To" section)

    Eclipse Java source search

提交回复
热议问题