IDEA之google style配置(IDEA)
一、window下IDEA配置谷歌编码规范xml
1、首先下载文件:intellij-java-google-style.xml(文件详细内容见附件)
2、找到该路径(C:\Users\自己的登录名 \.IntelliJIdea14\config\codestyles), 如果你的目录下没有codestyles文件夹,请自己创建,然后将intellij-java-google-style.xml文件复制到该处。
3、打开你的IDEA,找到setting 设置
二、linux下IDEA配置谷歌编码规范xml
1、首先下载文件:intellij-java-google-style.xml(文件详细内容见附件),放置在任意目录下(我的/home/sunjf/intellij-java-google-style.xml)
2、打开你的IDEA,找到setting 设置,Code Style-->Manager-->Import
选中Intellij IDEA code style XML,点击OK
找到intellij-java-google-style.xml双击
此时GoogleStyle被添加
附件:
<code_scheme name="GoogleStyle">
<option name="JAVA_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
<option name="TAB_SIZE" value="8"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</value>
</option>
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99"/>
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99"/>
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="com.google" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="android" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="antenna" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="antlr" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="ar" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="asposewobfuscated" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="asquare" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="atg" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="au" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="beaver" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="bibtex" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="bmsi" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="bsh" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="ccl" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="cern" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="ChartDirector" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="checkers" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="com" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="COM" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="common" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="contribs" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="corejava" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="cryptix" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="cybervillains" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="dalvik" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="danbikel" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="de" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="EDU" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="eg" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="eu" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="examples" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="fat" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="fit" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="fitlibrary" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="fmpp" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="freemarker" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="gnu" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="groovy" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="groovyjarjarantlr" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="groovyjarjarasm" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="hak" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="hep" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="ie" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="imageinfo" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="info" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="it" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jal" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="Jama" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="japa" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="japacheckers" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jas" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jasmin" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="javancss" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="javanet" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="javassist" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="javazoom" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="java_cup" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jcifs" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jetty" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="JFlex" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jj2000" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jline" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jp" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="JSci" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jsr166y" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="junit" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jxl" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="jxxload_help" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="kawa" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="kea" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="libcore" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="libsvm" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="lti" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="memetic" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="mt" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="mx4j" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="net" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="netscape" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="nl" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="nu" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="oauth" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="ognl" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="opennlp" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="oracle" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="org" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="penn2dg" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="pennconverter" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="pl" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="prefuse" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="proguard" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="repackage" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="scm" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="se" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="serp" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="simple" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="soot" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="sqlj" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="src" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="ssa" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="sun" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="sunlabs" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="tcl" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="testdata" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="testshell" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="testsuite" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="twitter4j" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="uk" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="ViolinStrings" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="weka" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="wet" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="winstone" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="woolfel" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="wowza" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="java" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="javax" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="" withSubpackages="true" static="false"/>
<emptyLine/>
<package name="" withSubpackages="true" static="true"/>
</value>
</option>
<option name="RIGHT_MARGIN" value="100"/>
<option name="JD_P_AT_EMPTY_LINES" value="false"/>
<option name="JD_KEEP_EMPTY_PARAMETER" value="false"/>
<option name="JD_KEEP_EMPTY_EXCEPTION" value="false"/>
<option name="JD_KEEP_EMPTY_RETURN" value="false"/>
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1"/>
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true"/>
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true"/>
<option name="ALIGN_MULTILINE_ASSIGNMENT" value="true"/>
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true"/>
<option name="ALIGN_MULTILINE_THROWS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true"/>
<option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true"/>
<option name="CALL_PARAMETERS_WRAP" value="1"/>
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
<option name="EXTENDS_LIST_WRAP" value="1"/>
<option name="THROWS_LIST_WRAP" value="1"/>
<option name="EXTENDS_KEYWORD_WRAP" value="1"/>
<option name="THROWS_KEYWORD_WRAP" value="1"/>
<option name="METHOD_CALL_CHAIN_WRAP" value="1"/>
<option name="BINARY_OPERATION_WRAP" value="1"/>
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true"/>
<option name="TERNARY_OPERATION_WRAP" value="1"/>
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true"/>
<option name="FOR_STATEMENT_WRAP" value="1"/>
<option name="ARRAY_INITIALIZER_WRAP" value="1"/>
<option name="ASSIGNMENT_WRAP" value="5"/>
<option name="WRAP_COMMENTS" value="true"/>
<option name="IF_BRACE_FORCE" value="3"/>
<option name="DOWHILE_BRACE_FORCE" value="3"/>
<option name="WHILE_BRACE_FORCE" value="3"/>
<option name="FOR_BRACE_FORCE" value="3"/>
<ADDITIONAL_INDENT_OPTIONS fileType="css">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="8"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="haml">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="8"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="java">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
<option name="TAB_SIZE" value="8"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="js">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="jsp">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="8"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="php">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="8"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="sass">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="8"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="xml">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="8"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<ADDITIONAL_INDENT_OPTIONS fileType="yml">
<option name="INDENT_SIZE" value="4"/>
<option name="CONTINUATION_INDENT_SIZE" value="8"/>
<option name="TAB_SIZE" value="4"/>
<option name="USE_TAB_CHARACTER" value="false"/>
<option name="SMART_TABS" value="false"/>
<option name="LABEL_INDENT_SIZE" value="0"/>
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
<option name="USE_RELATIVE_INDENTS" value="false"/>
</ADDITIONAL_INDENT_OPTIONS>
<codeStyleSettings language="ECMA Script Level 4">
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1"/>
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true"/>
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true"/>
<option name="ALIGN_MULTILINE_ASSIGNMENT" value="true"/>
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true"/>
<option name="ALIGN_MULTILINE_THROWS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true"/>
<option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true"/>
<option name="CALL_PARAMETERS_WRAP" value="1"/>
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
<option name="EXTENDS_LIST_WRAP" value="1"/>
<option name="THROWS_LIST_WRAP" value="1"/>
<option name="EXTENDS_KEYWORD_WRAP" value="1"/>
<option name="THROWS_KEYWORD_WRAP" value="1"/>
<option name="METHOD_CALL_CHAIN_WRAP" value="1"/>
<option name="BINARY_OPERATION_WRAP" value="1"/>
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true"/>
<option name="TERNARY_OPERATION_WRAP" value="1"/>
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true"/>
<option name="FOR_STATEMENT_WRAP" value="1"/>
<option name="ARRAY_INITIALIZER_WRAP" value="1"/>
<option name="ASSIGNMENT_WRAP" value="5"/>
<option name="WRAP_COMMENTS" value="true"/>
<option name="IF_BRACE_FORCE" value="3"/>
<option name="DOWHILE_BRACE_FORCE" value="3"/>
<option name="WHILE_BRACE_FORCE" value="3"/>
<option name="FOR_BRACE_FORCE" value="3"/>
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
</codeStyleSettings>
<codeStyleSettings language="JavaScript">
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1"/>
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true"/>
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true"/>
<option name="ALIGN_MULTILINE_ASSIGNMENT" value="true"/>
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true"/>
<option name="ALIGN_MULTILINE_THROWS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true"/>
<option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true"/>
<option name="CALL_PARAMETERS_WRAP" value="1"/>
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
<option name="EXTENDS_LIST_WRAP" value="1"/>
<option name="THROWS_LIST_WRAP" value="1"/>
<option name="EXTENDS_KEYWORD_WRAP" value="1"/>
<option name="THROWS_KEYWORD_WRAP" value="1"/>
<option name="METHOD_CALL_CHAIN_WRAP" value="1"/>
<option name="BINARY_OPERATION_WRAP" value="1"/>
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true"/>
<option name="TERNARY_OPERATION_WRAP" value="1"/>
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true"/>
<option name="FOR_STATEMENT_WRAP" value="1"/>
<option name="ARRAY_INITIALIZER_WRAP" value="1"/>
<option name="ASSIGNMENT_WRAP" value="5"/>
<option name="WRAP_COMMENTS" value="true"/>
<option name="IF_BRACE_FORCE" value="3"/>
<option name="DOWHILE_BRACE_FORCE" value="3"/>
<option name="WHILE_BRACE_FORCE" value="3"/>
<option name="FOR_BRACE_FORCE" value="3"/>
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
</codeStyleSettings>
<codeStyleSettings language="PHP">
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1"/>
<option name="ALIGN_MULTILINE_ASSIGNMENT" value="true"/>
<option name="ALIGN_MULTILINE_TERNARY_OPERATION" value="true"/>
<option name="ALIGN_MULTILINE_THROWS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true"/>
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true"/>
<option name="CALL_PARAMETERS_WRAP" value="1"/>
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
<option name="EXTENDS_LIST_WRAP" value="1"/>
<option name="THROWS_LIST_WRAP" value="1"/>
<option name="EXTENDS_KEYWORD_WRAP" value="1"/>
<option name="THROWS_KEYWORD_WRAP" value="1"/>
<option name="METHOD_CALL_CHAIN_WRAP" value="1"/>
<option name="BINARY_OPERATION_WRAP" value="1"/>
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true"/>
<option name="TERNARY_OPERATION_WRAP" value="1"/>
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true"/>
<option name="FOR_STATEMENT_WRAP" value="1"/>
<option name="ARRAY_INITIALIZER_WRAP" value="1"/>
<option name="ASSIGNMENT_WRAP" value="5"/>
<option name="WRAP_COMMENTS" value="true"/>
<option name="IF_BRACE_FORCE" value="3"/>
<option name="DOWHILE_BRACE_FORCE" value="3"/>
<option name="WHILE_BRACE_FORCE" value="3"/>
<option name="FOR_BRACE_FORCE" value="3"/>
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
</codeStyleSettings>
</code_scheme>
三、ubuntu下快捷键冲突解决
引文:https://www.jianshu.com/p/a44329bf5935
IDEA之google style配置(IDEA)的更多相关文章
- Google Style Guides
Google Style Guides Google Style Guides Google 开源项目风格指南 (zh-google-styleguide.readthedocs.io)
- [转]程序开发基础学习二(C++ Google Style 命名规则)
无规矩不成方圆,新的岗位就需要服从团队的编码规则.很开心团队用的是Google的C++编码规则,大概看了下Google 的编码规则,正如九天翔雁说的:“Google的 C++ Style Guide远 ...
- 【Idea】idea code style配置eclipse code formatter
在eclipse中有自动配置code style的功能 ,但是idea上却没有,这个时候需要自己手工配置 1. 在idea中找到Preference->Plugins->Browse re ...
- Google Style Guides-Shell Style Guide
作者声明 这篇翻译文章对我来说是有点小挑战的.由于我英语实在非常烂,勉强能够看懂一些技术文档,能够猜出大概的含义.可是翻译对我来说算是一个挑战,看英文文档已经不是一天两天的事了,可是这个篇文章却是我的 ...
- Linux下使用Google Authenticator配置SSH登录动态验证码
1.一般ssh登录服务器,只需要输入账号和密码.2.本教程的目的:在账号和密码之间再增加一个验证码,只有输入正确的验证码之后,再输入密码才能登录.这样就增强了ssh登录的安全性.3.账号.验证码.密码 ...
- java之google style
Google的Java编码规范英文版: http://google-styleguide.googlecode.com/svn/trunk/javaguide.html Google的Java编码规范 ...
- vim Google style format
https://github.com/google/vim-codefmt https://github.com/rhysd/vim-clang-format http://pre.tir.tw/00 ...
- GeoServer style 配置样例
<?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor version=& ...
- geoserver sld显示中文标签 style配置
样式1: <?xml version="1.0" encoding="GB2312"?><sld:StyledLayerDescriptor ...
随机推荐
- Java Code Examples for javax.servlet.http.Part
http://www.programcreek.com/java-api-examples/index.php?api=javax.servlet.http.Part The following ar ...
- jboss性能优化
jboss linux jboss 部署时优化设置: 在/conf/web.xml中通过参数指定: <session-config> <session-ti ...
- linux下svn 搭建
linux 下SVN搭建加自动提交更新到指定目录一.安装#yum install subversion yum安装SVN#mkdir -p /opt/svn/repos 创建s ...
- @interface NSFileManager : NSObject
@interface NSFileManager : NSObject NSFileManager操作: 1.文件夹创建删除 2.文件创建删除 3.清除数据缓存 以上办法都在这里:https://de ...
- php代码加密
<?php function encode_file_contents($filename) { $type=strtolower(substr(strrchr($filename,'.'),1 ...
- JS-DOM对象知识点汇总(慕课)
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>D ...
- BPEL 实例教程
http://www.oracle.com/technetwork/cn/articles/matjaz-bpel1-090722-zhs.html BPEL 实例教程 作者:Matjaz Juric ...
- JavaScript中的变量及数据类型
转自:http://blog.csdn.net/mygis2005/article/details/7375419 JavaScript是一种弱类型的语言,变量名.操作符和方法名都区分大小写. 1.变 ...
- 视频直播APP开发分析
视频直播APP开发到目前为止都还是热门的一个行业,而且发展到现在直播的种类非常多,很多行业都打入了直播行业,再也不是单纯的人物直播这么单一了.视频直播APP开发行业就像是吃螃蟹,来的早的人不懂如何吃, ...
- How to read a scientific paper
How to read a scientific paper Nothing makes you feel stupid quite like reading a scientific journal ...