PS-2022.2.3 <rodude123@rodude123s-yoga7 Update default.xml, KDE copy.xml Create JavaScript.xml
This commit is contained in:
parent
1d7c45a5aa
commit
a9761ce79b
@ -1,8 +1,19 @@
|
||||
<code_scheme name="default" version="173">
|
||||
<JSCodeStyleSettings version="0">
|
||||
<option name="FUNCTION_EXPRESSION_BRACE_STYLE" value="2" />
|
||||
</JSCodeStyleSettings>
|
||||
<PHPCodeStyleSettings>
|
||||
<option name="ANONYMOUS_BRACE_STYLE" value="2" />
|
||||
<option name="NAMESPACE_BRACE_STYLE" value="2" />
|
||||
</PHPCodeStyleSettings>
|
||||
<codeStyleSettings language="JavaScript">
|
||||
<option name="BRACE_STYLE" value="2" />
|
||||
<option name="CLASS_BRACE_STYLE" value="2" />
|
||||
<option name="METHOD_BRACE_STYLE" value="2" />
|
||||
<option name="ELSE_ON_NEW_LINE" value="true" />
|
||||
<option name="CATCH_ON_NEW_LINE" value="true" />
|
||||
<option name="FINALLY_ON_NEW_LINE" value="true" />
|
||||
</codeStyleSettings>
|
||||
<codeStyleSettings language="PHP">
|
||||
<option name="BRACE_STYLE" value="2" />
|
||||
<option name="LAMBDA_BRACE_STYLE" value="2" />
|
||||
|
@ -1,4 +1,8 @@
|
||||
<keymap version="1" name="KDE copy" parent="Default for KDE">
|
||||
<action id="CloseContent">
|
||||
<keyboard-shortcut first-keystroke="ctrl w" />
|
||||
<keyboard-shortcut first-keystroke="shift ctrl w" />
|
||||
</action>
|
||||
<action id="MoveTabDown">
|
||||
<keyboard-shortcut first-keystroke="shift alt 2" />
|
||||
</action>
|
||||
|
12
templates/JavaScript.xml
Normal file
12
templates/JavaScript.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<templateSet group="JavaScript">
|
||||
<template name="dqs" value="document.querySelector($END$);" description="Query Selector" toReformat="false" toShortenFQNames="true">
|
||||
<context>
|
||||
<option name="JAVA_SCRIPT" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
<template name="dqsa" value="document.querySelectorAll($END$); " description="Query Selector All" toReformat="false" toShortenFQNames="true">
|
||||
<context>
|
||||
<option name="JAVA_SCRIPT" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
</templateSet>
|
Loading…
Reference in New Issue
Block a user