IDEA

下载:https://www.jetbrains.com/idea/download

key:https://zhile.io & https://gitee.com/pengzhile/ide-eval-resetterlookdiv.com & https://33tool.com/idea & https://jetbra.in/s

插件地址:https://plugins.zhile.io
插件名称:IDE Eval Reset

hosts 文件移除 jetbrains 相关

”Configure” 或 “Help” -> “Edit Custom VM Options …”

-Dfile.encoding=UTF-8
mac: -javaagent:/Users/JetBrains/jetbrains-agent.jar
linux: -javaagent:/home/JetBrains/jetbrains-agent.jar
windows: -javaagent:D:\installsoft\JetBrains\lib\jetbrains-agent.jar

http://fls.jetbrains-agent.com

若无法打开软件,编辑 bin\64.exe.vmoptions,添加
-javaagent:D:\installsoft\JetBrains\lib\jetbrains-agent.jar



--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
-javaagent:C:\jetbra\ja-netfilter.jar=jetbrains
View Code

OpenJDK:https://adoptopenjdk.net/releases.html

OracleJDK:https://www.oracle.com/java/technologies/downloads

JetBrainsJDK(JBRSDK):https://github.com/JetBrains/JetBrainsRuntime

编码规范

阿里巴巴 Java 开发手册:https://github.com/alibaba/p3c & https://developer.aliyun.com/special/tech-java & https://developer.aliyun.com/ebook

Google Java 编程风格指南:https://google.github.io/styleguide/javaguide.html & https://hawstein.com/2014/01/20/google-java-style/

相关链接

Java 教程:https://docs.oracle.com/javase/tutorial & https://dev.java/learn

JavaSE & JVM 规范:https://docs.oracle.com/javase/specs

JavaEE:https://javaee.github.io & https://jakarta.ee

Servlet:https://jcp.org/en/jsr/detail?id=369

RFC 2616 & RFC 7540:https://httpwg.org

Android:https://developer.android.google.cn

ECMAScript-262:https://www.ecma-international.org/publications-and-standards/standards

Apache:https://archive.apache.org

JDK GoF:https://stackoverflow.com/questions/1673841/examples-of-gof-design-patterns-in-javas-core-libraries & https://refactoringguru.cn/design-patterns/catalog

其它

intel:https://www.intel.cn/content/www/cn/zh/developer/articles/technical/intel-sdm.html & https://www.intel.cn/content/www/cn/zh/products/docs/processors/core/core-technical-resources.html

amd:https://www.amd.com/zh-cn/search/documentation/hub.html 搜索 AMD64 Architecture Programmer's Manual Volume 选择 Relevance 排序

csdiy.wikihttps://github.com/PKUFlyingPig/cs-self-learning

JD:https://jelly.jd.com

MT:https://tech.meituan.com

ruanyifeng:https://ruanyifeng.com/blog & https://wangdoc.com

liaoxuefeng:https://liaoxuefeng.com

酷壳:https://coolshell.cn & https://coolshell.org

restapi:https://restapitutorial.com

https://codedocs.org

 

一、常用配置

便携化配置(bin\idea.properties)

idea.config.path=../../ideaIU_data/config
idea.system.path=../../ideaIU_data/system
idea.plugins.path=../../ideaIU_data/plugins
idea.log.path=../../ideaIU_data/log



idea.config.path=../../CLion_data/config
idea.system.path=../../CLion_data/system
idea.plugins.path=../../CLion_data/plugins
idea.log.path=../../CLion_data/log

编码格式(bin\idea64.exe.vmoptions)

-Dfile.encoding=UTF-8
-Dconsole.encoding=UTF-8

搜索结果数量

启动不自动加载项目

显示内存占用

新版本中显示内存占用,双击 shift,输入 memory

代码风格

下载 intellij-java-google-style.xml https://github.com/google/styleguide

导入文件

设置风格,然后就可以使用了

Ctrl + Alt + L:格式化代码
Ctrl + Alt + I:自动缩进
Ctrl + Alt + O:整理 import

代码注释风格

勾选 Add a space at comment start,会在 // 后自动添加空格

自动去掉行尾空格

新版本设置

properties 配置文件内容显示中文

方法分割线

调试 JDK 源码

护眼:C7EDCC

新建文件默认换行符

CTRL 代码跳转时打开新窗口

git commit 侧边栏

 

二、快捷键

To view the keymap reference as PDF, choose Help | Keymap Reference from the main menu.

Windows

Mac

 

三、常用插件

Alibaba Java Coding Guidelines(阿里巴巴 P3C 编程规范):https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines

GsonFormat(JSON 转 POJO):https://plugins.jetbrains.com/plugin/7654-gsonformat

Maven Helper(pom 依赖分析):https://plugins.jetbrains.com/plugin/7179-maven-helper

FindBugs-IDEA(潜在 Bug 检查):https://plugins.jetbrains.com/plugin/3847-findbugs-idea

ASM Bytecode Viewer(查看字节码文件):https://plugins.jetbrains.com/plugin/10302-asm-bytecode-viewer

Grep Console(日志颜色):https://plugins.jetbrains.com/plugin/7125-grep-console

 

四、其他工具

添加 javap 快捷方式

LightEdit 模式,创建快捷方式:D:\ideaIU\bin\idea64.exe LightEdit

 


https://www.jetbrains.com/help/idea

posted @ 2019-08-14 08:32  江湖小小白  阅读(1556)  评论(0编辑  收藏  举报