Add code templates
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
6c1553891e
commit
f7a21144b8
15 changed files with 4574 additions and 0 deletions
19
system/.config/phpstorm/config/templates/HTML_XML.xml
Normal file
19
system/.config/phpstorm/config/templates/HTML_XML.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<templateSet group="HTML/XML">
|
||||
<template name="T" value="<$TAG$>$SELECTION$</$TAGNAME$>" shortcut="TAB" description="Surround with <tag></tag>" toReformat="true" toShortenFQNames="true">
|
||||
<variable name="TAG" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
<variable name="TAGNAME" expression="firstWord(TAG)" defaultValue="""" alwaysStopAt="false" />
|
||||
<context>
|
||||
<option name="COMPLETION" value="false" />
|
||||
<option name="JAVA_CODE" value="false" />
|
||||
<option name="JAVA_COMMENT" value="true" />
|
||||
<option name="JAVA_STRING" value="false" />
|
||||
<option name="JSP" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
<template name="CD" value="<![CDATA[ $SELECTION$ ]]>" description="Surround with CDATA section" toReformat="false" toShortenFQNames="false">
|
||||
<context>
|
||||
<option name="COMPLETION" value="false" />
|
||||
<option name="JSP" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
</templateSet>
|
Loading…
Add table
Add a link
Reference in a new issue