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自动格式?例如,当我尝试复制以下代码时:
Object d = new Object( 45, 45, 45 );
我希望复制时完全一样:
通常我会得到:
它们不一样,一些选项卡已自动添加:<。你能给我一个解决方案吗?
这适用于 Eclipse 3.7.2。转到菜单Window/Preferences,然后转到Java/Editor/Typing。
Window/Preferences
Java/Editor/Typing
在那里,取消选中类别Adjust identation中的选项。When pasting
Adjust identation
When pasting