IntelliJ 中 Eclipse 的“大纲”窗口等效项

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31752352/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 22:46:07  来源:igfitidea点击:

Eclipse's "Outline" window equivalent in IntelliJ

eclipseintellij-13

提问by Daniel Hári

I am thinking to switch from Eclipse to IntelliJ. But I want first make sure that my favorite tools exists in IntelliJ.

我正在考虑从 Eclipse 切换到 IntelliJ。但我想首先确保我最喜欢的工具存在于 IntelliJ 中。

Does IntelliJhas an equivalent to Eclipse's docked Outlinewindow?

IntelliJ是否具有与 Eclipse 停靠的Outline窗口等效的功能?

Eclipse outline window example

Eclipse 大纲窗口示例

回答by arodriguezdonaire

I think you're looking for this:

我想你正在寻找这个

To view the file structure, do one of the following

要查看文件结构,请执行以下操作之一

  • On the main menu, choose View | Tool Windows | Structure.
  • Pres StructureTool Button
  • Press Alt+7.
  • Press Ctrl+F12.
  • 在主菜单上,选择查看 | 工具窗口 | 结构。
  • Pres StructureTool 按钮
  • 按 Alt+7。
  • 按 Ctrl+F12。

回答by Saikat

File structure popup shortcut:

文件结构弹出快捷方式:

  • Windows: CTRL+F12
  • Mac: ?+F12
  • 窗户:CTRL+F12
  • 麦克:?+F12