IDEA configuration

2020-04-13 18:38
63
0

Install IDEA:

#Mac
#放入文件
/Applications/IntelliJ IDEA.app/Contents/bin/jetbrains-agent.jar

#配置
#Configure - Edit Custom VM Options
-javaagent:/Applications/IntelliJ IDEA.app/Contents/bin/jetbrains-agent.jar


#配置路径#出错无法打开用
vim ~/Library/Preferences/IntelliJIdea2019.3/idea.vmoptions

##Install plugins-Lombok:

 

Install plugins-Lombok:

 

Install Maven:

#Mac
wget https://mirror.bit.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz

tar -zxvf apache-maven-3.6.3-bin.tar.gz

mv apache-maven-3.6.3 /Applications/IntelliJ\ IDEA.app/Contents/plugins/maven/lib/

##修改仓库
vim /Applications/IntelliJ\ IDEA.app/Contents/plugins/maven/libapache-maven-3.6.3/conf/settings.xml

<mirror>
        <id>alimaven</id>
        <mirrorOf>central</mirrorOf>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>

cp /settings.xml ~/.m2/settings.xml

全部评论