目录
- 前言
- 安装
- 插件
- grep-console
- file watchers
- lombok
- 常用设置
- 常用快捷键
前言
本文介绍一些idea使用的最常用技巧。
相关软件下载地址:
链接:https://pan.baidu.com/s/15xRPFiM7ytNXZHNRuVQ1cQ 密码:q6ka
安装
- 拷贝破解文件到目录
- mac :
/Applications/IntelliJ IDEA.app/Contents/bin/JetbrainsCrack-3.1-release-enc.jar
- win :
C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.1\bin\JetbrainsCrack-3.1-release-enc.jar
- mac :
- 配置
- mac
- 编辑/Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions 添加行
-javaagent:/Applications/IntelliJ IDEA.app/Contents/bin/JetbrainsCrack-3.1-release-enc.jar
- win
- 在安装目录的 \bin 目录下有两个文件 PhpStorm.exe.vmoptions 和 PhpStorm64.exe.vmoptions
-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.1\bin\JetbrainsCrack-3.1-release-enc.jar
- mac
路径根据实际情况配置。
- 打开idea输入如下激活码
ThisCrackLicenseId-{
"licenseId":"ThisCrackLicenseId",
"licenseeName":"IGSCC",
"assigneeName":"",
"assigneeEmail":"admin@igs.cc",
"licenseRestriction":"For Rover12421 Crack, Only Test! Please support genuine!!!",
"checkConcurrentUse":false,
"products":[
{"code":"II","paidUpTo":"2099-12-31"},
{"code":"DM","paidUpTo":"2099-12-31"},
{"code":"AC","paidUpTo":"2099-12-31"},
{"code":"RS0","paidUpTo":"2099-12-31"},
{"code":"WS","paidUpTo":"2099-12-31"},
{"code":"DPN","paidUpTo":"2099-12-31"},
{"code":"RC","paidUpTo":"2099-12-31"},
{"code":"PS","paidUpTo":"2099-12-31"},
{"code":"DC","paidUpTo":"2099-12-31"},
{"code":"RM","paidUpTo":"2099-12-31"},
{"code":"CL","paidUpTo":"2099-12-31"},
{"code":"PC","paidUpTo":"2099-12-31"}
],
"hash":"2911276/0",
"gracePeriodDays":7,
"autoProlongated":false}
插件
grep-console
- 作用
控制台的文字颜色控制,如error变红。
- 使用方法
- 本地导入安装
file watchers
本地安装file watchers
安装ruby 和rails
切换国内镜像
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
gem sources -l
- 安装sass
gem install sass
file -> settings -> tools -> file watchers
点击+号选择scss文件
设置默认参数即可
lombok
- 本地安装lombok
常用设置
properities文件中文乱码
如下图设置
常用快捷键
用途 | mac快捷键 | win 快捷键 |
---|---|---|
快速跳转到行 | cmd+L | control + L |
快速排列对齐 | cmd+option+L | control+alt+L |
打开Evaluate Expression计算表达式窗 | option+F8 | Alt + F8 |