Does IntelliJ have the equivalent of the Eclipse “

2019-02-04 08:48发布

By this I mean the feature where you can click on a class and the methods are displayed in alphabetical order. At the moment it doesn't seem to drill down any further than class name.

4条回答
一夜七次
2楼-- · 2019-02-04 09:05

Or just tell IntelliJ to "Show Members" in Project View. You select it in the upper right by clicking on the gear icon.

查看更多
混吃等死
3楼-- · 2019-02-04 09:10

what you are looking for is Structure View. It can be found on the left side below the Package View vertical button.

It can also be found under the Window -> Tool Window menu item.

  • Windows it is the keyboard shortcut ALT 7.

  • macOS it is the keyboard shortcut CMD 7.

  • Linux it is the keyboard shortcut CTRL 7.

查看更多
可以哭但决不认输i
4楼-- · 2019-02-04 09:13

On Mac OS X El Capitan and IntelliJ 17, this command will show Method view: +F12

查看更多
男人必须洒脱
5楼-- · 2019-02-04 09:18

See view->File structure popup or press ctrl-f12 if you haven't changed the keymap.

It also has call hierarchy (ctrl shift f12 on a method declaration) which is very useful..

查看更多
登录 后发表回答