IDEA环境设置

158 阅读1分钟

1.module的概念:

idea中的大型项目会包含多个module,表格中的是一个概念。如:eclipse中的project概念是idea中的module

eclipseidea
Projectmodule
workspaceProject

2.常用配置:

  • setting的位置:

    • 左上角file
    • 导航栏的 ”扳手”图标
    • 快捷键:ctrl + alt + s
  • 菜单栏字体大小、主题:File——setting——Appearance&Behavior——Appearance

    • Theme:

      • Intellij Light:白;Darcula:黑色
    • 菜单栏字体大小:

      • Theme下面

    image-20221101201003241

Editor-General配置

  • 写代码的编辑区主题:

    • 1.File——setting——Editor——Code Scheme
    • 2.下载插件:setting——plugins
  • 设置鼠标滚轮修改字体大小:setting——Editor——General——Change font size with Ctrl+Moust Wheel

  • 自动import package:

    image-20221101202307470

  • 显示代码行号、方法分隔符:

    image-20221101202504744

  • 忽略大小写:

    image-20221101202840938

  • 取消单行显示tabs:

    image-20221101203105342

  • 以上是关于General的配置

Editor-Font配置

字体设置

image-20221101203707299


Editor-Code Scheme

  • 设置注释颜色:

    image-20221101204642074


Editor-Code Style

  • 修改文档的头部信息:

    image-20221101205046387

  • 修改项目编码集:

    image-20221101205304207


自动编译

image-20221101205536360


3.快捷键

查看/修改快捷键位置:setting——Keymap——Editor Actions

image-20221101210122106


4.模板

image-20221101210933572