[英]Android Studio: Keep project file tree state expanded
I am using the latest version of Android Studio.我正在使用最新版本的 Android Studio。 Every time I close Android Studio or start debugging/executing the project, the "Project Files" tree collapses.每次我关闭 Android Studio 或开始调试/执行项目时,“项目文件”树都会崩溃。
Is there a setting to keep the tree expanded in the current state or to expand the whole tree again?是否有设置使树保持在当前状态下展开或再次展开整个树?
Very annoying.很烦人。 You can solve it by clicking the gear icon, and select Autoscroll from source
.您可以通过单击齿轮图标来解决它,然后选择Autoscroll from source
。 Then, anytime you select a tab, it will expand and select the file in the tree view.然后,无论何时您选择一个选项卡,它都会展开并在树视图中选择该文件。
Don't use Project Files
section.不要使用Project Files
部分。 Use Android
or just Project
sections.使用Android
或仅使用Project
部分。 They shouldn't collapse.他们不应该崩溃。
PS: Also Command+1
is the shortcut to open Project page. PS: Command+1
也是打开项目页面的快捷方式。
This worked for me:这对我有用:
Compact Middle Packages
取消Compact Middle Packages
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.