Eclipse常用设置

  • General

    • Editors

      • Text Editors

        勾选“Insert spaces for tabs”

        勾选“Remove multiple spaces on backspace/delete”

        勾选“Show print margin”,80

    • Workspace

      Text file encoding改为UTF-8

      New text file line delimiter改为Unix

  • Java

    • Editor

      • Content Assist

        Auto activation triggers for Java后面添加a……zA……Z

        勾选Disable insertion triggers except 'Enter'(避免按空格时也执行自动补全)

    • Code Style

      • Formatter

        新建profile,编辑

        • Indentation

          改为Spaces Only

          Indentation size为4

        • Comments

          勾选“Format line comments on first column”

  • XML

    • XML Files

      • Editor

        • Content Assist

          Prompt when these characters are inserted后面添加a……zA……Z

          Auto activation delay改为0

上一篇:常见的正则校验规则


下一篇:正则表达式 3