bAngelov

Judge Javascript - Jetbrains Live Template

Mar 3rd, 2024
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.83 KB | None | 0 0
  1. <template name="judgef" value="/*Creating function for task name: $task_name$*/&#10;&#10;function $function_name$($ARGUMENTS$){&#10;    $VALUES$&#10;}&#10;&#10;console.log($function_name$($function_arguments$))" description="Judge acceptable function" toReformat="true" toShortenFQNames="true">
  2.   <variable name="task_name" expression="" defaultValue="&quot;solve&quot;" alwaysStopAt="true" />
  3.   <variable name="function_name" expression="camelCase(task_name)" defaultValue="solve" alwaysStopAt="false" />
  4.   <variable name="ARGUMENTS" expression="" defaultValue="" alwaysStopAt="true" />
  5.   <variable name="VALUES" expression="" defaultValue="" alwaysStopAt="true" />
  6.   <variable name="function_arguments" expression="" defaultValue="" alwaysStopAt="true" />
  7.   <context>
  8.     <option name="JAVA_SCRIPT" value="true" />
  9.   </context>
  10. </template>
Add Comment
Please, Sign In to add comment