dotfiles/system/.config/phpstorm/config/templates/JavaScript.xml
Severin Kaderli b0699f76ae
Update PhpStorm configuration
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
2019-10-11 12:56:45 +02:00

8 lines
No EOL
592 B
XML

<templateSet group="JavaScript">
<template name="iter" value="for ($VARKIND$ $VAR$ of $ARRAY$) {&#10; $END$&#10;}" description="Iterate (for..of) - ES2015" toReformat="true" toShortenFQNames="true">
<variable name="VARKIND" expression="jsSuggestDefaultVariableKind()" defaultValue="var" alwaysStopAt="false" />
<variable name="ARRAY" expression="jsArrayVariable()" defaultValue="&quot;array &quot;" alwaysStopAt="false" />
<variable name="VAR" expression="jsSuggestVariableName()" defaultValue="&quot;o&quot;" alwaysStopAt="true" />
<context />
</template>
</templateSet>