eclipse 中 按 ctrl+shift+f 格式化代码时,等号(赋值号)前后不用空格
eclipse 中 按 ctrl+shift+f 格式化代码时,等号(赋值号)前后不用空格
int a=1;
默认格式化后,会在=前后加一个空格.
int a = 1;
更改位置:
windows--preferences--java--code style--formatter--edit--White Space-Expressions
int a=1;
默认格式化后,会在=前后加一个空格.
int a = 1;
更改位置:
windows--preferences--java--code style--formatter--edit--White Space-Expressions