WS-2017.3.2 <martin@martins-imac-2.local Create JavaScript.xml
This commit is contained in:
parent
c3fb55f40a
commit
c963aa2eff
18
templates/JavaScript.xml
Normal file
18
templates/JavaScript.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<templateSet group="JavaScript">
|
||||
<template name="log" value="console.log($END$)" description="Console log" toReformat="false" toShortenFQNames="true">
|
||||
<context>
|
||||
<option name="JAVA_SCRIPT" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
<template name="rcon" value="constructor(props){ super(props); this.state = $END$; } " description="Constructor" toReformat="false" toShortenFQNames="true">
|
||||
<context>
|
||||
<option name="JAVA_SCRIPT" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
<template name="rcom" value="class $component_name$ extends Component { render(){ return( <div> $END$ </div> ); } ]" description="React Component" toReformat="false" toShortenFQNames="true">
|
||||
<variable name="component_name" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
<context>
|
||||
<option name="JAVA_SCRIPT" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
</templateSet>
|
Loading…
Reference in New Issue
Block a user