PS-2021.2.2 <rodude123@rodude123s-x360 Create JavaScript.xml, templates.xml

This commit is contained in:
Rohit Pai 2021-11-02 12:26:19 +00:00
parent 76b8d2cf2d
commit e7cb3ce41b
2 changed files with 136 additions and 0 deletions

124
templates.xml Normal file
View File

@ -0,0 +1,124 @@
<application>
<component name="TemplateSettings">
<option name="deletedKeys">
<list>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_if" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_elif" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_select" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_case" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_for" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_while" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_until" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_function" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_string equal" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_string not equal" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_string is empty" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_string not empty" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_number equal" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_number not equal" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_number less" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_number less or equal" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_number greater" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_number greater or equal" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file exists" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file not empty" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file readable" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file writable" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file executable" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file equals" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file newer" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_file older" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_path exists" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_directory exists" />
</TemplateKey>
<TemplateKey>
<option name="groupName" value="Shell Script Hidden" />
<option name="key" value="shell_command exists" />
</TemplateKey>
</list>
</option>
</component>
</application>

12
templates/JavaScript.xml Normal file
View File

@ -0,0 +1,12 @@
<templateSet group="JavaScript">
<template name="dqs" value="document.querySelector(&quot;$END$&quot;);" description="Query Selector" toReformat="false" toShortenFQNames="true">
<context>
<option name="JS_STATEMENT" value="true" />
</context>
</template>
<template name="dqsa" value="document.querySelectorAll(&quot;$END$&quot;);&#10;" description="Query Selector All" toReformat="false" toShortenFQNames="true">
<context>
<option name="JS_STATEMENT" value="true" />
</context>
</template>
</templateSet>