Eclipse项目资源管理器在启动时扩展 [英] Eclipse project explorer expand on startup

查看:310
本文介绍了Eclipse项目资源管理器在启动时扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让Eclipse保存项目资源管理器树的状态并扩展到启动时的位置?每次我关闭Eclipse并重新启动它,最后打开的文件被打开,但项目资源管理器中的树完全崩溃了...

解决方案

找到了!如果您单击项目资源管理器中的与编辑器链接(右箭头上方的按钮)按钮,则将项目浏览器中的树扩展为当前正在编辑的文件。这是一个切换按钮,并且在关闭Eclipse时保存其状态。所以当你打开它,你的项目资源管理器被扩展到当前打开的文件。


Is there a way to get Eclipse to save the state of the project explorer tree and expand to where it was on startup? Every time I shut down Eclipse and start it back up, the file I had open last is opened, but the tree in the project explorer is completely collapsed...

解决方案

Found it! If you click the "Link with Editor" (the button that has a left arrow over a right arrow) button in the Project Explorer, it expands the tree in the project explorer to the file you're currently editing. This is a toggle button and its state is saved when closing Eclipse. So when you open it back up, your project explorer is expanded to the file that is currently open.

这篇关于Eclipse项目资源管理器在启动时扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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