Eclipse常用设置
Eclipse常用设置
1.显示回车换行符
Window->Preferences->General->Editors->Text Editors->Show whitespace characters
2.更改Tab为空格、每行格式化时容纳的字符数:
Window->Preferences->General->Editors->Text Editors->Insert space for tab
防止格式化时重又变回tab:
Window->Preferences->Java->Code Style->Formatter->Edit->Tab policy:Space only,Profile Name:tcEclipse [build in] (line wrapping:150)
Window->Preferences->XML->Editors->Indent using space 4 (line wrapping:150)