Intellij,项目导航。展开所有文件夹和文件树 [英] Intellij, project navigation. Expand all folder and file tree

查看:88
本文介绍了Intellij,项目导航。展开所有文件夹和文件树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Intellij中扩展整个项目树?我想这样做,这样我就可以更轻松地搜索结构并在文件和文件夹之间来回切换。

Is it possible to expand the entire project tree in Intellij? I would like to do this so I can more easily search the structure and jump back and forth between files and folders.

我知道双移,CTRL + SHIFT + N,但这不是我所追求的。

I know of double shift, and CTRL+SHIFT+N, but that is not what I am after.

推荐答案

完全展开树节点动作,绑定到 Numpad * 键( * )默认情况下。

There is a Fully Expand Tree Node action, which is bound to Numpad * key (*) by default.

但是如果你使用这个键,它不会扩展整个树,而是它扩展了第一级,当你再次按它时,它会扩展后续级别,依此类推。

But if you use this key, it doesn't expand the whole tree, rather it expands the first level and when you press it again it expands subsequent levels, and so on.

但它仍然可以做你想要实现的目标。只需在项目视图中单击要展开的树项(例如 src ),按住 * 键即可扩展所有节点很快。这不是最好的方法,但我不知道任何更好的解决方案。

But it can still do what you're trying to achieve. Just click the tree item you want to expand (for example src) in project view, press and hold the * key and all nodes will be expanded pretty quickly. It's not the best way but I'm not aware of any better solution.

在IntelliJ 14上测试

Tested on IntelliJ 14

这篇关于Intellij,项目导航。展开所有文件夹和文件树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆