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 ...
随机推荐
- linux 学习基础7之脚本的练习
练习:传递一个用户名参数给脚本,判断此用户的用户名跟其基本组的组名是否一致,并将结果显示出来.写一个脚本:#!/bin/bashUSER=$1if [ ! $# -eq 1 ];then echo ...
- linux中配置NTP基本操作
计算机的系统时间是由计算机内的石英晶体震荡电路以固定的震荡频率产生的date 查看当前时区vim /etc/sysconfig/clock 修改时区配置文件ZONE="America/Ne ...
- Mysql学习笔记(三)对表数据的增删改查。
正文内容. 这一部分是最简单的,也是最麻烦的.简单是因为其实只包括增删该插四个部分.大体上看,增加数据.删除数据.修改数据.查询数据都不麻烦啊,我们日常都是常用的.这个谁不会呢?以前在培训机构学mys ...
- Untiy3D - 窗口界面1
记录Untiy3D学习中的英语单词 一.Project窗口下的英语单词 First Day Folder : 文件夹 C# Script : C#脚本 JavaScript:JS脚本 Editor T ...
- Mysql和Memcached的连动
Memcached 和 mysqld 的联通 一 概述: what's UDFs ? UDFs是User Defined Functions的缩写,表示Mysql用户自定义的函数,应用程序可以利用这些 ...
- IOS 学习笔记之UI
自定义控件,实现部分 - (id)initWithFrame:(CGRect)frame descriptionText:(NSArray *)inText/*需要输入两个字符串*/ { self = ...
- wpf 拖图片到窗体
前台代码:<Window x:Class="拖拽.MainWindow" xmlns="http://schemas.microsoft.com/wi ...
- 将字符串转化为数字(Convert和Parse的用法)
字符串必须是数字,不要超过转换成目标数字类型的范围.超过的话系统也会报错(溢出). static void Main(string[] args) { string s; int i; Console ...
- CentOS7安装mysql5
CentOS7的yum源中默认没有mysql. 1. 下载mysql的repo源 $ wget http://repo.mysql.com/mysql-community-release-el7-5. ...
- SOCKADDR_IN
在windows/linux下有下面结构: sockaddr结构 struct sockaddr { unsigned short sa_family;/*addressfamily,AF_xxx*/ ...