{"rsdb":{"rid":"372593","subhead":"","postdate":"0","aid":"261535","fid":"76","uid":"1","topic":"1","content":"
\n

\u4e00\u3001IDEA\u548c\u5e38\u7528\u8f6f\u4ef6\u4e0b\u8f7d<\/strong><\/span>
1.IDEA\u6fc0\u6d3b\u7801\u7f51\u7ad9\uff1ahttp:\/\/idea.lanyus.com\/
\u5e38\u7528\u8f6f\u4ef6\u7f51\u7ad9
idea : https:\/\/www.jetbrains.com\/idea\/download\/#section=windows<\/p> \n

jdk: https:\/\/www.oracle.com\/technetwork\/java<\/a>\/java<\/a>se\/downloads\/jdk8-downloads-2133151.html<\/p> \n

git : https:\/\/git-scm.com\/<\/p> \n

maven : http:\/\/maven.apache.org\/download.cgi<\/p> \n

\u4e3b\u9898\uff1a http:\/\/www.riaway.com\/index.php<\/p> \n

\u4e8c \u3001 IDEA \u7684\u5b89\u88c5\u4e0e\u914d\u7f6e<\/strong><\/span><\/p> \n

\u5b89\u88c5\uff1a\uff08IDEA\u7248\u672c\u662fIntelliJ IDEA 2018.3.6 x64\uff09<\/strong><\/span><\/p> \n

 \u70b9\u51fb\u5b89\u88c5\u5305\u4e00\u8def\u9ed8\u8ba4\uff0c\u4e0b\u4e00\u6b65\u5373\u53ef<\/p> \n

\u914d\u7f6e\uff1a<\/strong><\/span>\u5bf9idea64.exe.vmoptions\u8fdb\u884c\u8bbe\u7f6e\uff08\u6587\u4ef6\u5728\u5b89\u88c5\u76ee\u5f55\u91cc\u7684bin\u6587\u4ef6\u91cc\u9762\uff0c\u5b89\u88c5\u7cfb\u7edf\u7684\u4f4d\u6570\u9009\u62e9\u4fee\u6539\u7684\u6587\u4ef6\uff0c\u6211\u7535\u8111\u662f64\u4f4d\uff09<\/strong><\/span><\/p> \n

\u914d\u7f6e\u8fd9\u4e2a\u6587\u4ef6\u662f\u4e3a\u4e86\u8f6f\u4ef6\u8fd0\u884c\u65f6\u66f4\u6d41\u7545\uff0c\u628a\u7535\u8111\u6027\u80fd\u5145\u5206\u4f53\u73b0\u51fa\u6765\uff0c\u9664\u4e86\u914d\u7f6e\u8fd9\u4e2a\u8f6f\u4ef6\u4f60\u8fd8\u53ef\u4ee5\u628a\u4e00\u4e9b\u7528\u4e0d\u5230\u7684\u63d2\u4ef6\u7ed9\u53bb\u6389\u4e5f\u53ef\u4ee5\u4f7f\u8f6f\u4ef6\u66f4\u6d41\u7545<\/strong><\/span><\/p> \n

-Xms500m
-Xmx1500m 
-XX:ReservedCodeCacheSize=500m
-XX:SoftRefLRUPolicyMSPerMB=100<\/em><\/p> \n

 <\/p> \n

\"\"<\/p> \n

\u914d\u7f6e\u56fe<\/p> \n

\u914d\u7f6e\u672c\u5730maven\uff1a<\/strong><\/span><\/p> \n

\u70b9\u51fbsetting   ==>\u641c\u7d22maven\uff08\u6216\u8005\u70b9\u51fbBuild\uff0cExecution\uff0cDeployment   \u627e\u5230Build Tools==>maven\uff09==>maven home directory \u9009\u62e9maven3\uff0cUser settings file \u6253\u94a9\uff0c\u5e76\u9009\u62e9\u672c\u5730maven\u7684settings.xml\u5730\u5740(\u5728\u914d\u7f6e\u597d\u8fd9\u4e2a\u6587\u4ef6\u7684\u524d\u63d0\u4e0b\uff0cLocal repository \u4f1a\u81ea\u52a8\u627e\u5230\u6587\u4ef6\u914d\u7f6e\u7684\u4f4d\u7f6e\u76ee\u5f55)\u4e0b\u6587\u6709\u76f8\u5173\u914d\u7f6e<\/strong><\/span><\/p> \n

\"\"<\/strong><\/span><\/p> \n

 \u914d\u7f6e\u56fe<\/p> \n

 <\/p> \n

 <\/p> \n

\u4e09 \u3001 IDEA \u5e38\u7528\u63d2\u4ef6\u7684\u5b89\u88c5\u4e0e\u4f7f\u7528<\/strong><\/span><\/p> \n

Alibaba Java Coding Cuidelines \uff1a\u963f\u91cc\u5df4\u5df4java\u5f00\u53d1\u89c4\u7ea6<\/p> \n

activate-power-mode \uff1a\u6548\u679c\u63d2\u4ef6\u5192\u6ce1\u6548\u679c<\/p> \n

Free MyBatis plugin \uff1aDAO\u63a5\u53e3\u548cXML\u6587\u4ef6\u4e4b\u95f4\u7684\u5feb\u901f\u8bbf\u95ee<\/p> \n

Iedis \uff1aredis\u7684\u63d2\u4ef6<\/p> \n

Lombok\uff1a  \u5f00\u53d1\u5de5\u5177\u63d2\u4ef6<\/p> \n

zookeeper <\/p> \n

 <\/p> \n


3.1\u3001Maven\u914d\u7f6e\u963f\u91cc\u955c\u50cf\uff08\u6211\u4e0b\u8f7d\u7684\u538b\u7f29\u5305\u89e3\u538b\u5230D\u76d8\uff0c\u5728maven3.6\u91cc\u9762\u7684setting.xml\u914d\u7f6e\uff09<\/span><\/strong><\/p> \n

\"\"<\/span><\/strong><\/p> \n

 <\/p> \n

\u4e0b\u9762\u662fmaven\u7684\u4e00\u4e9b\u4e3b\u8981\u914d\u7f6e\uff0c\u5305\u62ecjdk\u7248\u672c\u7684\u6307\u5b9a\u548c\u4fee\u6539\u9ed8\u8ba4maven \u672c\u5730jar\u5305\u7684\u4f4d\u7f6e\uff0c\u914d\u7f6e\u963f\u91cc\u4e2d\u592e\u4ed3\u5e93<\/strong><\/p> \n

 <\/p> \n

<?xml version="1.0" encoding="UTF-8"?><\/p> \n

<settings xmlns="http:\/\/maven.apache.org\/SETTINGS\/1.0.0"
xmlns:xsi="http:\/\/www.w3.org\/2001\/XMLSchema-instance"
xsi:schemaLocation="http:\/\/maven.apache.org\/SETTINGS\/1.0.0 http:\/\/maven.apache.org\/xsd\/settings-1.0.0.xsd">
<localRepository>D:\\apache-maven-3.6.1\\lib<\/localRepository><!--\u6307\u5b9a\u672c\u5730jar\u5305\u4f4d\u7f6e-->

<pluginGroups>

<\/pluginGroups><\/p> \n

<proxies><\/p> \n

<\/proxies><\/p> \n

<servers>
<\/servers><\/p> \n

<mirrors><!--\u914d\u7f6e\u963f\u91cc\u4e2d\u592e\u4ed3\u5e93-->
<mirror>
<id>alimaven<\/id>
<name>aliyun maven<\/name>
<url>http:\/\/maven.aliyun.com\/nexus\/content\/groups\/public\/<\/url>
<mirrorOf>central<\/mirrorOf>
<\/mirror>
<\/mirrors><\/p> \n

<profiles>
<profile> <!--\u6307\u5b9aJDK\u7248\u672c-->
<id>jdk-1.8<\/id>
<activation>
<activeByDefault>true<\/activeByDefault>
<jdk>1.8<\/jdk>
<\/activation>
<properties>
<maven.compiler.source>1.8<\/maven.compiler.source>
<maven.compiler.target>1.8<\/maven.compiler.target>
<maven.compiler.compilerVersion>1.8<\/maven.compiler.compilerVersion>
<\/properties>
<\/profile>
<\/profiles><\/p> \n

<\/settings><\/p> \n

3.2\u3001\u63d2\u4ef6\u4f7f\u7528\uff0c\u9700\u8981\u8bb0\u5f55\u7684\u63d2\u4ef6\u4f7f\u7528\uff1a<\/span><\/strong>
Lombok<\/p> \n

@Getter\u3001@Setter \u751f\u6210\u6211\u4eec\u7684get set\u65b9\u6cd5<\/p> \n

@RequiredArgsConstructor \u751f\u6210\u4e00\u4e2a\u5e26\u6709@NonNull\u8fd9\u4e2a\u6ce8\u89e3\u53d8\u91cf\u7684\u4e00\u4e2a\u6784\u9020\u5668<\/p> \n

@ToString \u5c06\u6211\u4eec\u7684\u5bf9\u8c61\u8f6c\u5316\u6210\u4e00\u4e2a\u5e26\u6709\u6210\u5458\u53d8\u91cf\u503c\u5f97\u4e00\u4e2a\u5b57\u7b26\u4e32<\/p> \n

@EqualsAndHashCode \u5e2e\u6211\u4eec\u91cd\u5199 equals \u548c hashCode \u65b9\u6cd5 \u6765\u8fdb\u884c\u5bf9\u8c61\u7684\u6bd4\u8f83<\/p> \n

@Data {@Getter\u3001@Setter\u3001@RequiredArgsConstructor\u3001@ToString\u3001@EqualsAndHashCode}<\/p> \n

\u56db\u3001IDEA \u5e38\u7528\u529f\u80fd\u53ca\u5176\u5feb\u6377\u65b9\u5f0f<\/strong><\/span><\/p> \n


Ctrl + F \u67e5\u627e
Ctrl + R \u66ff\u6362
Ctrl + Z \u64a4\u9500
Ctrl + Y \u5220\u9664\u5149\u6807\u6240\u5728\u884c
Ctrl + X \u526a\u5207\u5149\u6807\u6240\u5728\u884c
Ctrl + C \u590d\u5236\u5149\u6807\u6240\u5728\u884c
Ctrl + V \u7c98\u8d34\u5149\u6807\u6240\u5728\u884c
Ctrl + D \u5c06\u5149\u6807\u6240\u5728\u884c\u590d\u5236\u5230\u4e0b\u4e00\u884c
Ctrl + W \u9012\u8fdb\u5f0f\u9009\u62e9\u4ee3\u7801\u5757
Ctrl + E \u6253\u5f00\u6211\u4eec\u4fee\u6539\u7684\u4e00\u4e2a\u5386\u53f2\u6587\u4ef6
Ctrl + N \u6839\u636e\u7c7b\u540d\u6765\u67e5\u627e\u6587\u4ef6
Ctrl + J \u5217\u51faLive Temples
Ctrl + P \u663e\u793a\u65b9\u6cd5\u7684\u4f20\u5165\u53c2\u6570
Ctrl + U \u8fdb\u5165\u5149\u6807\u6240\u5728\u7c7b\u7684\u7236\u7c7b
Ctrl + B \u8df3\u5230\u5149\u6807\u6240\u5728\u65b9\u6cd5\/\u53d8\u91cf\u7684\u58f0\u660e\u5904 --- Ctrl + \u9f20\u6807\u5de6\u952e \u70b9\u51fb\u65b9\u6cd5\u540d\/\u53d8\u91cf\u540d
Ctrl + \/ \u6ce8\u91ca\u5149\u6807\u6240","orderid":"0","title":"IDEA \u4f7f\u7528\u4e0e\u603b\u7ed3(\u4e00)","smalltitle":"","mid":"0","fname":"JAVA","special_id":"0","bak_id":"0","info":"0","hits":"64","pages":"2","comments":"0","posttime":"2019-09-19 11:11:54","list":"1568862714","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"
IDEA<\/A> \u4f7f\u7528<\/A> \u603b\u7ed3<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"14.17.22.32","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"IDEA \u4f7f\u7528\u4e0e\u603b\u7ed3","lastview":"1713402895","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}