美文网首页
Eclipse使用

Eclipse使用

作者: lllaser | 来源:发表于2017-09-07 15:46 被阅读0次

    格式化代码

    快捷键 Ctrl + Shift + F

    设置代码格式
    • Java:Preferences - Java - Code Style - Formatter,一般默认的就可以
    • XML:Preferences - XML - XML Files - Editor,勾选Split multiple attributes on a new line,两个空格缩进的风格选择Indent using spaces 2

    相关文章

      网友评论

          本文标题:Eclipse使用

          本文链接:https://www.haomeiwen.com/subject/mupijxtx.html