WS-2019.2.2 <martin@Martins-iMac-2.local Update React.xml Create templates.xml

This commit is contained in:
Martin Donnelly 2019-09-25 17:28:55 +01:00
parent 6c1e995694
commit 63c75876a9
2 changed files with 131 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>

View File

@ -199,4 +199,11 @@
<variable name="TM_FILENAME_BASE" expression="capitalize(camelCase(fileNameWithoutExtension()))" defaultValue="&quot;&quot;" alwaysStopAt="true" />
<context />
</template>
<template name="imp" value="import $moduleName$ from '$module$' $END$" description="Import module from module" toReformat="true" toShortenFQNames="true">
<variable name="moduleName" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="module" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JS_STATEMENT" value="true" />
</context>
</template>
</templateSet>