WS-2022.3.3 <martin@Martins-Studio.lan Update JavaScript.xml

This commit is contained in:
Martin Donnelly 2023-03-14 16:15:06 +00:00
parent 5730dbf2ef
commit af298f5940

View File

@ -18,7 +18,8 @@
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="importlog" value="import { newLogger } from '../helpers/logger';&#10;&#10;const log = newLogger('$END$');&#10;" description="Import log" toReformat="false" toShortenFQNames="true">
<template name="importlog" value="import { newLogger } from '../helpers/logger';&#10;&#10;const log = newLogger('$NAME$');&#10;$END$&#10;" description="Import log" toReformat="false" toShortenFQNames="true">
<variable name="NAME" expression="fileNameWithoutExtension()" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>