intellijsettings-MAC/templates/JSON.xml

36 lines
2.3 KiB
XML

<templateSet group="JSON">
<template name="prop" value="&quot;$PROPNAME$&quot;: {&quot;type&quot;: &quot;$TYPE$&quot;}," description="Schema Property" toReformat="false" toShortenFQNames="true">
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TYPE" expression="suggest" defaultValue="&quot;string&quot;" alwaysStopAt="true" />
<context>
<option name="JSON" value="true" />
</context>
</template>
<template name="props" value="&quot;$PROPNAME$&quot;: {&quot;type&quot;: &quot;$TYPE$&quot;}," description="Schema Property" toReformat="false" toShortenFQNames="true">
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TYPE" expression="suggest" defaultValue="&quot;string&quot;" alwaysStopAt="true" />
<context>
<option name="JSON" value="true" />
</context>
</template>
<template name="propn" value="&quot;$PROPNAME$&quot;: {&quot;type&quot;: &quot;$TYPE$&quot;}," description="Schema Property" toReformat="false" toShortenFQNames="true">
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TYPE" expression="suggest" defaultValue="&quot;number&quot;" alwaysStopAt="true" />
<context>
<option name="JSON" value="true" />
</context>
</template>
<template name="propb" value="&quot;$PROPNAME$&quot;: {&quot;type&quot;: &quot;$TYPE$&quot;}," description="Schema Property" toReformat="false" toShortenFQNames="true">
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TYPE" expression="suggest" defaultValue="&quot;boolean&quot;" alwaysStopAt="true" />
<context>
<option name="JSON" value="true" />
</context>
</template>
<template name="schema" value="{&#10; &quot;title&quot;: &quot;$TITLE$&quot;,&#10; &quot;type&quot;: &quot;object&quot;,&#10; &quot;properties&quot;: {&#10; $END$&#10; },&#10; &quot;additionalProperties&quot;: false,&#10; &quot;require&quot;: []&#10;}" description="Empty JSON Schema" toReformat="false" toShortenFQNames="true">
<variable name="TITLE" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JSON" value="true" />
</context>
</template>
</templateSet>