Windows Java IntelliJ IDEA 开发环境搭建

博文目录

文章目录

  • 设置
  • 插件


设置

  • File | Settings | Appearance & Behavior | System Settings - Project
    • 取消勾选 Reopen projects on startup
    • Open project in 选择 New Window
    • Default project directory 选择为 IDE 分配的工作空间目录, 如 C:\mrathena\develop\workspace\idea
  • File | Settings | Keymap
    • 选 Eclipse
  • File | Settings | Editor | General | Auto Import
    • 勾选 Optimize imports on the fly
  • File | Settings | Editor | General | Code Completion
    • 取消勾选 Match case
  • File | Settings | Editor | General | Editor Tabs
    • Appearance - Tab placement 选 Left
    • Closing Policy - Tab limit 填 100
  • File | Settings | Editor | Font
    • Font 选 Courier New
    • Size 填 16
  • File | Settings | Editor | Code Style | Java
    • 选到 Imports 页, Class count to use import with ‘*’ 改成 99
  • File | Settings | Editor | Inspections
    • 搜索 serialVersionUID, 勾选 Serializable class without serialVersionUID
  • File | Settings | Editor | File Encodings
    • Global Encoding 选 UTF-8
    • Project Encoding 选 UTF-8
    • Properties Files (*.properties) - Default encoding for properties files 选 UTF-8
  • File | Settings | Version Control | Git
    • Path to Git executable 设置 git.exe 路径
  • File | Settings | Build, Execution, Deployment | Build Tools | Maven
    • 勾选 Always update snapshots
    • 设置 Maven home path
    • 更新 User settings file
    • 确认 Local repository
    • 注意: Idea 2021.2.3 搭配 Maven 3.8.x 会报错无法使用, 需要使用 3.6.3
  • File | Settings | Build, Execution, Deployment | Build Tools | Gradle
    • Gradle User home 修改到其他位置? 貌似可以和 Maven 仓库一起?

插件

  • Manage Plugin Repositories 添加知了插件源 plugins.zhile.io
  • IDE Eval Reset, 记得勾选 Logout when reset 和 Auto reset before per restart, 注意, 2021.3 起不再可用
  • Chinese (Simplified) Language Pack / 中文语言包
  • Translation, 划词翻译
  • CodeGlance Pro, 代码地图
  • Lombok: Idea 2020.3 起已集成到 IDE 中
  • Rainbow Brackets Lite, 彩虹括号
  • GenerateAllSetter
  • MyBatisX
  • Maven Helper

你可能感兴趣的:(开发工具,java,idea)