且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Intellij IDEA中按名称查找包裹

更新时间:2023-12-06 09:23:04

打开项目视图工具窗口,切换到套餐查看模式,点击齿轮图标,启用 Flattern Packages 选项,停用显示模块选项。

Open Project View tool window, switch to the Packages view mode, click on the gear icon, enable Flattern Packages option, disable Show Modules option.

开始输入包裹名称以激活速度搜索

Start typing the package name to activate the speed search.

另一种选择是使用导航 | ,键入 your.package。* ,选择一个类,按 Alt + Home 对于导航栏弹出窗口,使用箭头选择包,按 F4 (如果导航栏未浮动,但在视图菜单中启用,则可能无效)。

Another option is to use Navigate | Class, type your.package.*, select some class, press Alt+Home for the navigation bar popup, use arrows to select the package, press F4 (may not work if navigation bar is not floating, but enabled in the View menu instead).