<commit_before><?xml version="1.0" encoding="UTF-8"?>
<templateSet group="Bash">
    <template name="if" value="if $test$; then&#10;    $END$&#10;fi" description="if statement" toReformat="false"
              toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="ife" value="if $test$; then&#10;    $cmd$&#10;else &#10;    $END$&#10;fi"
              description="if-else statement" toReformat="false" toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <variable name="cmd" expression="" defaultValue="&quot;echo&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="while" value="while $test$; do&#10;    $END$&#10;done" description="while-loop" toReformat="false"
              toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="until" value="until $test$; do&#10;    $END$;&#10;done" description="until-loop" toReformat="false"
              toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="she" value="#!$ENV$ $BASH$" description="shebang line" toReformat="false" toShortenFQNames="false">
        <variable name="ENV" expression="" defaultValue="&quot;/usr/bin/env&quot;" alwaysStopAt="false"/>
        <variable name="BASH" expression="enum(&quot;bash&quot;,&quot;sh&quot;)" defaultValue="" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cas" value="case $value$ in&#10;$pattern$)&#10;  $END$ ;;&#10;esac" description="Case statement"
              toReformat="false" toShortenFQNames="false">
        <variable name="value" expression="" defaultValue="&quot;$x&quot;" alwaysStopAt="true"/>
        <variable name="pattern" expression="" defaultValue="&quot;value&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cap" value="$a$)&#10;  $END$ ;;" description="Case pattern" toReformat="false"
              toShortenFQNames="false">
        <variable name="a" expression="" defaultValue="&quot;$a&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cap2" value="$a$|$b$)&#10;  $END$ ;;" description="Case pattern with two alternatives"
              toReformat="false" toShortenFQNames="false">
        <variable name="a" expression="" defaultValue="&quot;$a&quot;" alwaysStopAt="true"/>
        <variable name="b" expression="" defaultValue="&quot;$b&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cap3" value="$a$|$b$)&#10;  $END$ ;;" description="Case pattern with 3 alternatives"
              toReformat="false" toShortenFQNames="false">
        <variable name="a" expression="" defaultValue="&quot;$a&quot;" alwaysStopAt="true"/>
        <variable name="b" expression="" defaultValue="&quot;$b&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="ifee"
              value="if $test$; then&#10;    $cmd$&#10;elif $test2$; then&#10;    $cmd2$    &#10;else &#10;    $cmd3$&#10;fi"
              description="if-elsif-else statement" toReformat="false" toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <variable name="cmd" expression="" defaultValue="&quot;echo&quot;" alwaysStopAt="true"/>
        <variable name="test2" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <variable name="cmd2" expression="" defaultValue="&quot;echo&quot;" alwaysStopAt="true"/>
        <variable name="cmd3" expression="" defaultValue="echo" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
</templateSet><commit_msg>Add live templates for "for" loops<commit_after><?xml version="1.0" encoding="UTF-8"?>
<templateSet group="Bash">
    <template name="if" value="if $test$; then&#10;    $END$&#10;fi" description="if statement" toReformat="false"
              toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="ife" value="if $test$; then&#10;    $cmd$&#10;else &#10;    $END$&#10;fi"
              description="if-else statement" toReformat="false" toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <variable name="cmd" expression="" defaultValue="&quot;echo&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="while" value="while $test$; do&#10;    $END$&#10;done" description="while-loop" toReformat="false"
              toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="until" value="until $test$; do&#10;    $END$;&#10;done" description="until-loop" toReformat="false"
              toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="she" value="#!$ENV$ $BASH$" description="shebang line" toReformat="false" toShortenFQNames="false">
        <variable name="ENV" expression="" defaultValue="&quot;/usr/bin/env&quot;" alwaysStopAt="false"/>
        <variable name="BASH" expression="enum(&quot;bash&quot;,&quot;sh&quot;)" defaultValue="" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cas" value="case $value$ in&#10;$pattern$)&#10;  $END$ ;;&#10;esac" description="Case statement"
              toReformat="false" toShortenFQNames="false">
        <variable name="value" expression="" defaultValue="&quot;$x&quot;" alwaysStopAt="true"/>
        <variable name="pattern" expression="" defaultValue="&quot;value&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cap" value="$a$)&#10;  $END$ ;;" description="Case pattern" toReformat="false"
              toShortenFQNames="false">
        <variable name="a" expression="" defaultValue="&quot;$a&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cap2" value="$a$|$b$)&#10;  $END$ ;;" description="Case pattern with two alternatives"
              toReformat="false" toShortenFQNames="false">
        <variable name="a" expression="" defaultValue="&quot;$a&quot;" alwaysStopAt="true"/>
        <variable name="b" expression="" defaultValue="&quot;$b&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="cap3" value="$a$|$b$)&#10;  $END$ ;;" description="Case pattern with 3 alternatives"
              toReformat="false" toShortenFQNames="false">
        <variable name="a" expression="" defaultValue="&quot;$a&quot;" alwaysStopAt="true"/>
        <variable name="b" expression="" defaultValue="&quot;$b&quot;" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
    <template name="ifee"
              value="if $test$; then&#10;    $cmd$&#10;elif $test2$; then&#10;    $cmd2$    &#10;else &#10;    $cmd3$&#10;fi"
              description="if-elsif-else statement" toReformat="false" toShortenFQNames="false">
        <variable name="test" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <variable name="cmd" expression="" defaultValue="&quot;echo&quot;" alwaysStopAt="true"/>
        <variable name="test2" expression="" defaultValue="&quot;test&quot;" alwaysStopAt="true"/>
        <variable name="cmd2" expression="" defaultValue="&quot;echo&quot;" alwaysStopAt="true"/>
        <variable name="cmd3" expression="" defaultValue="echo" alwaysStopAt="true"/>
        <context>
            <option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
        </context>
    </template>
	<template name="for-each-in" value="for $LOOPVAR$ in $LOOPITEMS$ ; do&#10;    $END$$SELECTION$&#10;done&#10;" description="&quot;For each in set&quot; loop" toReformat="true" toShortenFQNames="false">
		<variable name="LOOPVAR" expression="" defaultValue="&quot;VAR&quot;" alwaysStopAt="true"/>
		<variable name="LOOPITEMS" expression="" defaultValue="&quot;item1 item2 item3&quot;" alwaysStopAt="true"/>
		<context>
			<option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
		</context>
	</template>
	<template name="for-index" value="for (( $LOOPVAR$ = $LOOPSTART$; $LOOPVAR$ &lt; $LOOPLIMIT$; ++$LOOPVAR$ )); do&#10;    $END$$SELECTION$&#10;done&#10;" description="C-style &quot;for&quot; loop" toReformat="true" toShortenFQNames="false">
		<variable name="LOOPVAR" expression="" defaultValue="&quot;VAR&quot;" alwaysStopAt="true"/>
		<variable name="LOOPSTART" expression="" defaultValue="&quot;0&quot;" alwaysStopAt="true"/>
		<variable name="LOOPLIMIT" expression="" defaultValue="&quot;${LOOP_LIMIT}&quot;" alwaysStopAt="true"/>
		<context>
			<option name="Bash" value="true"/>
            <option name="OTHER" value="false"/>
		</context>
	</template>
</templateSet>
{'fraction_non_alphanumeric': 0.19165500349895032, 'fraction_numerical': 0.01119664100769769, 'mean_word_length': 3.567718737514982, 'pattern_counts': {'":': 0, '<': 184, '<?xml version=': 2, '>': 184, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1188991', 'n_tokens_mistral': 3464, 'n_tokens_neox': 3369, 'n_words': 672}