IDEA这么高端的工具之前只是断断续续使用了一下,因为项目的开发都是在eclipse上,每次学习IDEA的使用都得上网搜索半天,今天自己整理一下,方便以后查阅。

IDEA版本15.0.4

字体

界面字体

File -> Settings

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij

Appearance & Behavior -> Appearance

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_02

程序字体

Editor -> Colors & Fonts -> Font

  • 先另存为

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_03

  • 再设置字体、大小和间距

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_04

编码

全局编码设置

File -> Other Settings -> Default Settings

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_05

Editor -> File Encodings

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_06

工程编码设置

File -> Settings

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_07

Editor -> File Encodings

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_08

文件编码设置

打开需要设置编码的文件

在右下角进行设置

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_09

任何开发统一编码都是第一步,为了解决中文编码,这里统一设为UTF-8

字体大小根据个人喜好。

Maven设置

File -> Other Settings -> Default Settings

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_10

Build, Execution, Deployment ->Build Tools -> Maven

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_11

JDK设置

File -> Other Settings -> Default Project Structure

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_12

【IntelliJ】IDEA使用--字体、编码和基本设置_Intellij_13

OK,开启IDEA之旅!

【当你用心写完每一篇博客之后,你会发现它比你用代码实现功能更有成就感!】