Leave a Comment
Postgresql: style guide for DataGrip
Place it into xml file and import into DataGrip or another jetbrains’ product
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
<code_scheme name="bullgare SQL" version="173"> <SqlCodeStyleSettings version="2"> <option name="ALIAS_CASE" value="1" /> <option name="KEYWORD_CASE" value="0" /> <option name="TYPE_CASE" value="3" /> <option name="IDENTIFIER_CASE" value="1" /> <option name="QUERY_EL_LINE" value="101" /> <option name="QUERY_IN_ONE_STRING" value="1" /> <option name="QUERY_TRUE_INDENT" value="false" /> <option name="QUERY_ALIGN_ELEMENTS" value="false" /> <option name="SUBQUERY_OPENING" value="1" /> <option name="SUBQUERY_CONTENT" value="2" /> <option name="SUBQUERY_CLOSING" value="2" /> <option name="INSERT_INTO_NL" value="2" /> <option name="INSERT_OPENING" value="4" /> <option name="INSERT_TABLE_EL_LINE" value="101" /> <option name="SET_EL_LINE" value="1" /> <option name="SET_EL_WRAP" value="3" /> <option name="WITH_EL_LINE" value="101" /> <option name="SELECT_EL_LINE" value="101" /> <option name="SELECT_USE_AS_WORD" value="1" /> <option name="SELECT_ALIGN_AS" value="false" /> <option name="FROM_EL_LINE" value="1" /> <option name="FROM_EL_WRAP" value="3" /> <option name="FROM_WRAP_ON" value="true" /> <option name="FROM_INDENT_JOIN" value="false" /> <option name="FROM_ONLY_JOIN_INDENT" value="2" /> <option name="FROM_PLACE_ON" value="11" /> <option name="INDEX_NAME_TEMPLATE" value="{table}_{columns}_{unique?key:idx}" /> <option name="PRIMARY_KEY_NAME_TEMPLATE" value="{table}_pkey" /> <option name="FOREIGN_KEY_NAME_TEMPLATE" value="{table}_{ref_table}_{ref_columns}_fkey" /> </SqlCodeStyleSettings> <codeStyleSettings language="SQL"> <option name="KEEP_LINE_BREAKS" value="false" /> <indentOptions> <option name="INDENT_SIZE" value="4" /> <option name="TAB_SIZE" value="4" /> <option name="USE_TAB_CHARACTER" value="true" /> </indentOptions> </codeStyleSettings> </code_scheme> |
Similar Posts
LEAVE A COMMENT
Для отправки комментария вам необходимо авторизоваться.