Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
突然间,我在 Eclipse 中打开的任何 Java 文件都以完全折叠模式打开。我不记得更改任何设置,但大概我一定是按了一些特殊的热键或不小心点击了某个地方来要求这种行为。
关于如何关闭它的任何线索?我试过简单地禁用折叠但没有成功。
谢谢。
Windows -> 首选项 -> Java -> 编辑器 -> 折叠 -> 最初折叠的元素。取消选中“成员”或点击“恢复默认值”按钮。
如果您再次遇到类似问题,请尝试在左上角的首选项对话框过滤器框中输入一个术语。如果您输入“折叠”,您已经非常接近解决方案。