summaryrefslogtreecommitdiff
path: root/resources/src/liveTemplates/output.xml
blob: a4a653f776422ecdaaf9a956033fded53f5625f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="output">
  <template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.serr"
            name="serr" toReformat="true" toShortenFQNames="true" value="System.err.println(&quot;$END$&quot;);">
    <context>
      <option name="JAVA_CODE" value="false" />
      <option name="JAVA_STATEMENT" value="true" />
    </context>
  </template>
  <template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.sout"
            name="sout" toReformat="true" toShortenFQNames="true" value="System.out.println($END$);">
    <context>
      <option name="JAVA_CODE" value="false" />
      <option name="JAVA_STATEMENT" value="true" />
    </context>
  </template>
  <template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.souf"
            name="souf" toReformat="true" toShortenFQNames="true" value="System.out.printf(&quot;$END$&quot;);">
    <context>
      <option name="JAVA_CODE" value="false" />
      <option name="JAVA_STATEMENT" value="true" />
    </context>
  </template>
  <template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.soutm"
            name="soutm" toReformat="true" toShortenFQNames="true" value="System.out.println(&quot;$CLASS_NAME$.$METHOD_NAME$&quot;);">
    <variable alwaysStopAt="false" defaultValue="" expression="className()" name="CLASS_NAME" />
    <variable alwaysStopAt="false" defaultValue="" expression="methodName()" name="METHOD_NAME" />
    <context>
      <option name="JAVA_CODE" value="false" />
      <option name="JAVA_STATEMENT" value="true" />
      <option name="GROOVY" value="false" />
      <option name="GROOVY_STATEMENT" value="false" />
    </context>
  </template>
  <template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.soutp"
            name="soutp" toReformat="true" toShortenFQNames="true" value="System.out.println($FORMAT$);">
    <variable alwaysStopAt="false" defaultValue="" expression="groovyScript(&quot;'\&quot;' + _1.collect { it + ' = [\&quot; + ' + it + ' + \&quot;]'}.join(', ') + '\&quot;'&quot;, methodParameters())" name="FORMAT" />
    <context>
      <option name="JAVA_CODE" value="false" />
      <option name="JAVA_STATEMENT" value="true" />
    </context>
  </template>
  <template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.soutv"
            name="soutv" toReformat="true" toShortenFQNames="true" value="System.out.println(&quot;$EXPR_COPY$ = &quot; + $EXPR$);">
    <variable alwaysStopAt="true" defaultValue="&quot;expr&quot;" expression="variableOfType(&quot;&quot;)" name="EXPR" />
    <variable alwaysStopAt="false" defaultValue="" expression="escapeString(EXPR)" name="EXPR_COPY" />
    <context>
      <option name="JAVA_CODE" value="false" />
      <option name="JAVA_STATEMENT" value="true" />
      <option name="GROOVY" value="false" />
      <option name="GROOVY_STATEMENT" value="false" />
    </context>
  </template>
</templateSet>