设置显示空格(space)和制表符(tab)
Window->references->General->Editors->TextEditors->Showwhitespacecharacters
打勾
Windows->Preferences->General->Editors->Text Editors,选中“Insert spaces for tabs”。
Windows->Preferences->PHP->Code Styles->Formatter,点击Acitivie Profile边上的Edit按钮。
在打开的页面中的General settings中,令Tab policy为Space only
也可以选择Zend Frame的风格
设置保存时自动删除空格 自动去掉语句后面多余的空格
Window->Preferences->PHP->Editor->Save Actions->Remove trailing whitespace
设置字体大小
Window->Preference->General->Appearance->Colors and Fonts
在右边显示的方框中选择Basic->Text Font(overrides default:Text Font)
Window->references->General->Editors->TextEditors->Showwhitespacecharacters
打勾
Windows->Preferences->General->Editors->Text Editors,选中“Insert spaces for tabs”。
Windows->Preferences->PHP->Code Styles->Formatter,点击Acitivie Profile边上的Edit按钮。
在打开的页面中的General settings中,令Tab policy为Space only
也可以选择Zend Frame的风格
设置保存时自动删除空格 自动去掉语句后面多余的空格
Window->Preferences->PHP->Editor->Save Actions->Remove trailing whitespace
设置字体大小
Window->Preference->General->Appearance->Colors and Fonts
在右边显示的方框中选择Basic->Text Font(overrides default:Text Font)