eclipse设置tab键为4个空格

来源:互联网 发布:is语音网络兼职可信吗 编辑:程序博客网 时间:2024/05/18 02:40

1.Window-->Preferences-->Java-->Code Style-->Formatter

然后右边选择 Edit按钮,在General Settings页中 Tab policy 右边的下拉框,选择Space only!

2.Editors->Text Editors

勾选Insert spaces for tabs和show whitespace characters

0 0
原创粉丝点击