---
title: IDEA
date: 2017-05-27 10:50:00
tags: idea
categories: tools
---

## [下载](https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+EAP)
- [Windows](https://download.jetbrains.com/idea/ideaIU-14.1.7.zip)
- [OS X](https://download.jetbrains.com/idea/ideaIU-14.1.7.dmg)
- [Linux](https://download.jetbrains.com/idea/ideaIU-14.1.7.tar.gz)

## 安装
1. 将IntelliJ免安装版解压到指定(如 D:\Portable\IntelliJ)目录
2. 修改`${idea.home}/bin/idea.properties`
``` properties
# idea.config.path=${user.home}/.IntelliJIdea/config
idea.config.path=${idea.home}/config

# idea.system.path=${user.home}/.IntelliJIdea/system
idea.system.path=${idea.home}/system
```
3. 修改`${idea.home}/bin/idea(64).exe.vmoptions`追加`-Dfile.encoding=UTF-8`
4. 其它配置
``` py
# 显示行号  
File > Settings > Editor > General > Appearance > Show line numbers
# 代码字体设置  
File > Settings > Editor > Colors & Fonts > Font
# 快捷键设置    
File > Settings > Keymap > Keymaps > Eclipse
File > Settings > Keymap > Main menu > Code > Completion > Cyclic Expand Word > Alt+. & Basic > Alt+/
File > Settings > Editor > General > Code Completion > Case sensitive completion=None
# 类方法不自动折叠  
File > Settings > Editor > General > Code Folding > One-line methods=false
File > Settings > Editor > Code Style > Java > Imports > Class count to use import with ‘*’=99
# 编码设置
File > Settings > Editor > File Encodings > IDE Encoding&Project Encoding&Default encoding > UTF-8
# 隐藏项目配置文件
File > Settings > Editor > File Types > Ignore files and folders > *.idea;*.iml
```

## 安装Plugin
- [JRebel](http://dl.zeroturnaround.com/idea/)
  http://dl.zeroturnaround.com/idea/jr-ide-intellij-7.0.9_13-17.zip
  
> *说明：安装插件时将包含lib目录的插件文件夹拷贝到${idea.home}/plugins目录即可。*