同样的操作,每次都记不住,只要重新安装eclipse,就要去网上找半天。现在记录下....
Step 1:
Windows->Preferences->General->Editors->Text Editors,选中“Insert spaces for tabs”。
Step 2:
Windows->Preferences->Java->Code Styles->Formatter,点击Acitivie Profile边上的Edit按钮。在打开的页面中的General settings中,令Tab policy为Space only。
--
Good Luck.
http://blog.sina.com.cn/s/blog_69b9d95c0100qbfl.html
Step 1:
Windows->Preferences->General->Editors->Text Editors,选中“Insert spaces for tabs”。
Step 2:
Windows->Preferences->Java->Code Styles->Formatter,点击Acitivie Profile边上的Edit按钮。在打开的页面中的General settings中,令Tab policy为Space only。
--
Good Luck.
http://blog.sina.com.cn/s/blog_69b9d95c0100qbfl.html
本文提供了解决在使用Eclipse时遇到的操作记忆问题的方法,包括如何在Eclipse中进行偏好设置以确保每次安装后都能保持统一的编辑器和格式化设置。
160

被折叠的 条评论
为什么被折叠?



