Does IntelliJ have the equivalent of the Eclipse “method view”?

后端 未结 4 1020
清酒与你
清酒与你 2020-12-29 06:44

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

相关标签:
4条回答
  • 2020-12-29 07:16

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

    0 讨论(0)
  • 2020-12-29 07:23

    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.

    0 讨论(0)
  • 2020-12-29 07:34

    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..

    0 讨论(0)
  • 2020-12-29 07:40

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

    0 讨论(0)
提交回复
热议问题