修改前,注释默认在行首位置

 

 修改:打开菜单

File–>Sttings–>Editor–>Code Style->Java

找到Comment Code

取消勾选Line comment at first column和Block comment at first column

勾选Add  a space at line comment start

如下:

 需改后

再次注释代码

 

posted on 2025-01-24 21:45  le.li  阅读(262)  评论(0)    收藏  举报