mirror of
https://github.com/fergalmoran/settings-webstorm.git
synced 2025-12-22 09:47:41 +00:00
WS-2017.2 <fergalm@localhost Create ide.general.xml, emmet.xml, project.default.xml, JavaScript.xml, other.xml, Meteor HTML.xml, Zen CSS.xml, laf.xml, Default.xml, AngularJS .xml, keymap.xml, intentionSettings.xml, Zen XSL.xml, Handlebars.xml, xsl.xml, html_xml.xml, Dart.xml, Zen HTML.xml, editor.xml, debugger.xml
This commit is contained in:
5
_linux/keymap.xml
Normal file
5
_linux/keymap.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<application>
|
||||||
|
<component name="KeymapManager">
|
||||||
|
<active_keymap name="Visual Studio" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
5
_linux/laf.xml
Normal file
5
_linux/laf.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<application>
|
||||||
|
<component name="LafManager">
|
||||||
|
<laf class-name="com.intellij.ide.ui.laf.IntelliJLaf" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
1
codestyles/Default.xml
Normal file
1
codestyles/Default.xml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<code_scheme name="Default" />
|
||||||
13
debugger.xml
Normal file
13
debugger.xml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<application>
|
||||||
|
<component name="XDebuggerSettings">
|
||||||
|
<data-views />
|
||||||
|
<general />
|
||||||
|
<debuggers>
|
||||||
|
<debugger id="javascript">
|
||||||
|
<configuration>
|
||||||
|
<custom-object-presentation />
|
||||||
|
</configuration>
|
||||||
|
</debugger>
|
||||||
|
</debuggers>
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
6
editor.xml
Normal file
6
editor.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<application>
|
||||||
|
<component name="DefaultFont">
|
||||||
|
<option name="FONT_SIZE" value="13" />
|
||||||
|
<option name="FONT_SCALE" value="1.0833334" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
8
emmet.xml
Normal file
8
emmet.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<application>
|
||||||
|
<component name="CssEmmetOptions">
|
||||||
|
<option name="cssEmmetEnabled" value="false" />
|
||||||
|
</component>
|
||||||
|
<component name="JsxEmmetOptions">
|
||||||
|
<option name="emmetEnabled" value="false" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
8
ide.general.xml
Normal file
8
ide.general.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<application>
|
||||||
|
<component name="GeneralSettings">
|
||||||
|
<option name="showTipsOnStartup" value="false" />
|
||||||
|
</component>
|
||||||
|
<component name="Registry">
|
||||||
|
<entry key="dumb.aware.run.configurations" value="true" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
91
intentionSettings.xml
Normal file
91
intentionSettings.xml
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
<application>
|
||||||
|
<component name="IntentionManagerSettings">
|
||||||
|
<ignoreAction name="CoffeeScript/Replace Double-Quoted String with Single-Quoted String" />
|
||||||
|
<ignoreAction name="CoffeeScript/Replace Single-Quoted String with Double-Quoted String" />
|
||||||
|
<ignoreAction name="Dart/Quick assist powered by the Dart Analysis Server" />
|
||||||
|
<ignoreAction name="Flow JS/Specify variable type explicitly" />
|
||||||
|
<ignoreAction name="HTML/Update background-image size" />
|
||||||
|
<ignoreAction name="JavaScript/Convert 'forEach' to 'for..of'" />
|
||||||
|
<ignoreAction name="JavaScript/Convert anonymous function to named function" />
|
||||||
|
<ignoreAction name="JavaScript/Convert arrow function to anonymous function" />
|
||||||
|
<ignoreAction name="JavaScript/Convert arrow function to shorthand arrow function" />
|
||||||
|
<ignoreAction name="JavaScript/Convert function and its member declarations to class" />
|
||||||
|
<ignoreAction name="JavaScript/Convert parameters to object" />
|
||||||
|
<ignoreAction name="JavaScript/Convert template string to use visible line separators" />
|
||||||
|
<ignoreAction name="JavaScript/Convert to forEach call on array" />
|
||||||
|
<ignoreAction name="JavaScript/Convert to multi-line string template" />
|
||||||
|
<ignoreAction name="JavaScript/Create Getter" />
|
||||||
|
<ignoreAction name="JavaScript/Create Getter and Setter" />
|
||||||
|
<ignoreAction name="JavaScript/Create Setter" />
|
||||||
|
<ignoreAction name="JavaScript/Replace string with template string" />
|
||||||
|
<ignoreAction name="JavaScript/Split declarations" />
|
||||||
|
<ignoreAction name="JavaScript/Swap method call arguments" />
|
||||||
|
<ignoreAction name="JavaScript/Boolean/DeMorgan Law" />
|
||||||
|
<ignoreAction name="JavaScript/Boolean/Flip Comparison" />
|
||||||
|
<ignoreAction name="JavaScript/Boolean/Flip Conjunction Operands" />
|
||||||
|
<ignoreAction name="JavaScript/Boolean/Negate Comparison" />
|
||||||
|
<ignoreAction name="JavaScript/Boolean/Remove Boolean Equality" />
|
||||||
|
<ignoreAction name="JavaScript/Comments/Move Comment To Separate Line" />
|
||||||
|
<ignoreAction name="JavaScript/Comments/Replace With C-Style Comment" />
|
||||||
|
<ignoreAction name="JavaScript/Comments/Replace With End Of Line Comment" />
|
||||||
|
<ignoreAction name="JavaScript/Conditional Operator/Flip Conditional" />
|
||||||
|
<ignoreAction name="JavaScript/Conditional Operator/Flip If" />
|
||||||
|
<ignoreAction name="JavaScript/Conditional Operator/Remove Pointless Conditional" />
|
||||||
|
<ignoreAction name="JavaScript/Conditional Operator/Replace Conditional With If Else" />
|
||||||
|
<ignoreAction name="JavaScript/Conditional Operator/Replace If Else With Conditional" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Add Braces" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Merge Else If" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Merge Equivalent Ifs To ORed Condition" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Merge Nested Ifs To ANDed Condition" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Merge Parallel For Loops" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Merge Parallel For-In Loops" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Merge Parallel Ifs" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Remove Braces" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Remove Redundant Else" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Replace If With Switch" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Replace Switch With If" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Simplify If Else" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Split ANDed Condition To Nested Ifs" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Split Else If" />
|
||||||
|
<ignoreAction name="JavaScript/Control Flow/Split ORed Condition To Equivalent Ifs" />
|
||||||
|
<ignoreAction name="JavaScript/Declaration/Merge Declaration And Initialization" />
|
||||||
|
<ignoreAction name="JavaScript/Declaration/Split Declaration And Initialization" />
|
||||||
|
<ignoreAction name="JavaScript/Declaration/Split Declaration And Move To Scope Start" />
|
||||||
|
<ignoreAction name="JavaScript/Numbers/Convert To Binary" />
|
||||||
|
<ignoreAction name="JavaScript/Numbers/Convert To Decimal" />
|
||||||
|
<ignoreAction name="JavaScript/Numbers/Convert To Hexadecimal" />
|
||||||
|
<ignoreAction name="JavaScript/Numbers/Convert To Octal" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Compute Constant Value" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Compute Constant Value For Subexpression" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Extract Increment" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Join Concatenated String Literals" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Remove Unnecessary Parentheses" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Replace Assignment With Operator Assignment" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Replace Double-Quoted String with Single-Quoted String" />
|
||||||
|
<ignoreAction name="JavaScript/Other/Replace Single-Quoted String with Double-Quoted String" />
|
||||||
|
<ignoreAction name="JavaScript/Shift Operation/Replace Multiply with Shift" />
|
||||||
|
<ignoreAction name="JavaScript/Shift Operation/Replace Shift with Multiply" />
|
||||||
|
<ignoreAction name="Javascript/Language Injection/Annotate injection with comment" />
|
||||||
|
<ignoreAction name="Javascript/Language Injection/Don't format injected content" />
|
||||||
|
<ignoreAction name="Language Injection/Edit Injected Fragment" />
|
||||||
|
<ignoreAction name="Language Injection/Edit Injection Settings" />
|
||||||
|
<ignoreAction name="Language Injection/Inject language or reference" />
|
||||||
|
<ignoreAction name="Language Injection/Un-inject Language/Reference" />
|
||||||
|
<ignoreAction name="Other/Flip ','" />
|
||||||
|
<ignoreAction name="RegExp/Check RegExp" />
|
||||||
|
<ignoreAction name="XML/Add Xsi schema location for external resource" />
|
||||||
|
<ignoreAction name="XML/Choose Color" />
|
||||||
|
<ignoreAction name="XML/Collapse empty tag" />
|
||||||
|
<ignoreAction name="XML/Expand Empty Tag" />
|
||||||
|
<ignoreAction name="XML/Fetch external resource" />
|
||||||
|
<ignoreAction name="XML/Insert namespace prefix" />
|
||||||
|
<ignoreAction name="XML/Manually setup external resource" />
|
||||||
|
<ignoreAction name="XML/Merge Tags" />
|
||||||
|
<ignoreAction name="XML/Reset to default namespace" />
|
||||||
|
<ignoreAction name="XML/Split current tag" />
|
||||||
|
<ignoreAction name="XSLT/Add optional Argument(s)" />
|
||||||
|
<ignoreAction name="XSLT/Convert if to choose" />
|
||||||
|
<ignoreAction name="XSLT/Inline xsl:attribute" />
|
||||||
|
<ignoreAction name="XSLT/Replace with xsl:attribute" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
5
other.xml
Normal file
5
other.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<application>
|
||||||
|
<component name="NodeJsLocalInterpreters">
|
||||||
|
<local-interpreter path="/usr/bin/node" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
10
project.default.xml
Normal file
10
project.default.xml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<application>
|
||||||
|
<component name="ProjectManager">
|
||||||
|
<defaultProject>
|
||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<option name="PROJECT_PROFILE" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</component>
|
||||||
|
</defaultProject>
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
206
templates/AngularJS .xml
Normal file
206
templates/AngularJS .xml
Normal file
@@ -0,0 +1,206 @@
|
|||||||
|
<templateSet group="AngularJS ">
|
||||||
|
<template name="ngdcf" value="function compile(tElement, tAttrs, transclude) { $END$ return function (scope, element, attrs) { } }" description="A compile function" toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngdlf" value="function (scope, element, attrs$ctrl$) { $END$ }" description="A linking function in a directive." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="ctrl" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngdc" value="directive('$directiveName$', function factory($injectables$) { var directiveDefinitionObject = { $directiveAttrs$ compile: function compile(tElement, tAttrs, transclude) { $END$ return function (scope, element, attrs) { } } }; return directiveDefinitionObject; })" description="A directive with a compile function" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="directiveName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="injectables" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="directiveAttrs" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngdl" value=".directive('$directiveName$', function($directiveDeps$) { return function(scope, element, attrs$ctrl$) { $END$ } });" description="A directive with a linking function only." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="directiveName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="directiveDeps" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="ctrl" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngc" value="var $controllerName$ = function($scope, $injectables$) { $END$ } " description="Define a new Angular Controller. You can change the controller name and parameters." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="controllerName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="injectables" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngfor" value="angular.forEach($iterateOver$, function(value, key){ $END$ });" description="angular.foreach loop" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="iterateOver" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngindex" value="<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/$version$/angular.js"></script> </head> <body ng-app> $END$ </body> </html>" description="Simple way of bootstraping angular app for prototyping purposes" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="version" expression="" defaultValue="1.0.1" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngsa" value="<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/$version$/angular$suffix$.js"></script> $END$" description="Script tag importing base AngularJS file from CDN" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="version" expression="" defaultValue="1.0.1" alwaysStopAt="true" />
|
||||||
|
<variable name="suffix" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngst" value="<script type="text/ng-template" id="$id$"> $END$ </script>" description="A script tag holding Angular's template" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="id" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngb" value="{{$binding$}}$END$" description="A binding in AngularJS" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="binding" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngm" value="angular.module('$moduleName$',[$moduleDependencies$]); $END$" description="A new angular module without a config function." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="moduleName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="moduleDependencies" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngma" value="var $moduleName$ = angular.module('$moduleName$',[$moduleDeps$]); $END$" description="A new angular module without a config function and a variable assigment." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="moduleName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="moduleDeps" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngmc" value="var $moduleName$ = angular.module('$moduleName$',[$moduleDeps$], function($configDeps$){ $END$ });" description="A new angular module with a config function" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="moduleName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="moduleDeps" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="configDeps" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngmfa" value="factory('$factoryName$', function($dependencies$){ $END$ });" description="A factory in a module" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="factoryName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="dependencies" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngms" value="service('$serviceName$', function($injectables$) { $END$ });" description="Define an Angular Module Service to be attached to a previously defined module. You can change the service name and service injectables." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="serviceName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="injectables" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngmfi" value="filter('$filterName$', function($injectables$) { return function(input, $args$) { $END$ }; })" description="Define an Angular Module Filter to be attached to a previously defined module. You can change the filter name." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="filterName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="injectables" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="args" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngrw" value="$routeProvider.when('$url$', { templateUrl: '$templateUrl$', controller: '$controller$' }); $END$" description="Defines a when condition of an AngularJS route." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="url" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="templateUrl" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="controller" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngrwr" value="$routeProvider.when('$url$', { templateUrl: '$templateUrl$', controller: '$controller$', resolve: {$END$ } });" description="Defines a when condition of an AngularJS route with the resolve block." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="url" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="templateUrl" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="controller" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ngro" value="$routeProvider.otherwise({redirectTo : '$url$'}); $END$" description="Defines an otherwise condition of an AngularJS route." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="url" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="$f" value="$scope.$functionName$ = function($args$) { $END$ };" description="Define a new $scope'd function (usually inside an AngularJS Controller). You can change the function name and arguments." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="functionName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="args" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="$v" value="$scope.$variable$ = $value$; $END$" description="Defines a new $scope'd variable inside an AngularJS controller." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="variable" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="value" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="$va" value="$scope.$variable$ = $variable$; $END$" description="Defines a new $scope'd variable inside an AngularJS controller and assigns a value from a contstructor arguments." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="variable" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="$w" value="$scope.$watch('$watchExpr$',function(newValue, oldValue){ $END$ });" description="Define a $watch for an expression. You can change the expression to be watched." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="watchExpr" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="$on" value="$scope.$on('$eventName$', function(event, $args$) { $END$ });" description="Define a $on for a $broadcast/$emit on the $scope inside an Angular Controller. You can change the event name to listen on." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="eventName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="args" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="$b" value="$scope.$broadcast('$eventName$', $eventArgs$); $END$" description="Define a $broadcast for a $scope inside an Angular Controller / Angular Controller Function. You can change the event name and optional event arguments." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="eventName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="eventArgs" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="$e" value="$scope.$emit('$eventName$', $eventArgs$); $END$" description="Define an $emit for a $scope inside an Angular Controller / Angular Controller Function. You can change the event name and optional event arguments." toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="eventName" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="eventArgs" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="HAML" value="false" />
|
||||||
|
<option name="JSP" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
15
templates/Dart.xml
Normal file
15
templates/Dart.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<templateSet group="Dart">
|
||||||
|
<template name="iter" value="for (var $VAR$ in $ITERABLE$) { $END$ }" description="Iterate (for..in)" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="ITERABLE" expression="dartIterableVariable()" defaultValue=""array "" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR" expression="dartSuggestVariableName()" defaultValue=""o"" alwaysStopAt="true" />
|
||||||
|
</template>
|
||||||
|
<template name="itar" value="for (var $INDEX$ = 0; i < $ARRAY$.length; ++$INDEX$) { var $VAR$ = $ARRAY$[$INDEX$]; $END$ }" description="Iterate elements of array" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="INDEX" expression="dartSuggestIndexName()" defaultValue=""i"" alwaysStopAt="true" />
|
||||||
|
<variable name="ARRAY" expression="dartListVariable()" defaultValue=""array"" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR" expression="dartSuggestVariableName()" defaultValue=""o"" alwaysStopAt="true" />
|
||||||
|
</template>
|
||||||
|
<template name="sout" value="print('$END$');" description="print to standard out" toReformat="true" toShortenFQNames="true" deactivated="true" />
|
||||||
|
<template name="soutm" value="print('$CLASS_NAME_METHOD_NAME$');$END$" description="prints the current class and method name to standard out" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="CLASS_NAME_METHOD_NAME" expression="" defaultValue="dartClassNameMethodName" alwaysStopAt="false" />
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
5
templates/Handlebars.xml
Normal file
5
templates/Handlebars.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<templateSet group="Handlebars">
|
||||||
|
<template name="itar" value="{{#each $HELPER$}} $END$ {{/each}}" description="Handlebars Each block" toReformat="true" toShortenFQNames="false" deactivated="true">
|
||||||
|
<variable name="HELPER" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
39
templates/JavaScript.xml
Normal file
39
templates/JavaScript.xml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<templateSet group="JavaScript">
|
||||||
|
<template name="iter" value="for (let $VAR$ of $ARRAY$) { $END$ }" description="Iterate (for..of) - ES2015" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="ARRAY" expression="jsArrayVariable()" defaultValue=""array "" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR" expression="jsSuggestVariableName()" defaultValue=""o"" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="itin" value="for (var $VAR$ in $ARRAY$) { $END$ }" description="Iterate (for..in)" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="ARRAY" expression="jsArrayVariable()" defaultValue=""array "" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR" expression="jsSuggestVariableName()" defaultValue=""o"" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="itar" value="for (var $INDEX$ = 0; $INDEX$ < $ARRAY$.length; $INDEX$++) { var $VAR$ = $ARRAY$[$INDEX$]; $END$ }" description="Iterate elements of array" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="INDEX" expression="jsSuggestIndexName()" defaultValue=""i"" alwaysStopAt="true" />
|
||||||
|
<variable name="ARRAY" expression="jsArrayVariable()" defaultValue=""array"" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR" expression="jsSuggestVariableName()" defaultValue=""o"" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="ritar" value="for (var $INDEX$ = $ARRAY$.length - 1; $INDEX$ >= 0; $INDEX$--) { var $VAR$ = $ARRAY$[$INDEX$]; $END$ }" description="Iterate elements of array in reverse order" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="INDEX" expression="jsSuggestIndexName()" defaultValue=""i"" alwaysStopAt="true" />
|
||||||
|
<variable name="ARRAY" expression="jsArrayVariable()" defaultValue=""array"" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR" expression="jsSuggestVariableName()" defaultValue=""o"" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="us" value=""use strict"; $END$" description="Inserts 'use strict' statement" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="ref" value="///<reference path="$PATH$"/> $END$" description="Inserts reference path comment" toReformat="true" toShortenFQNames="false" deactivated="true">
|
||||||
|
<variable name="PATH" expression="complete()" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="defn" value="define(["$MODULE_REF$"], function($MODULE_VAR$) { $END$ });" description="Inserts define() expression" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="MODULE_REF" expression="complete()" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="MODULE_VAR" expression="jsDefineParameter(MODULE_REF)" defaultValue="mod" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="flow" value="// @flow" description="Inserts @flow annotation" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
5
templates/Meteor HTML.xml
Normal file
5
templates/Meteor HTML.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<templateSet group="Meteor HTML">
|
||||||
|
<template name="temp:name" value="<template name="$VAR0$"> $END$ </template>" description="<template name="">...</template>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
2132
templates/Zen CSS.xml
Normal file
2132
templates/Zen CSS.xml
Normal file
File diff suppressed because it is too large
Load Diff
1304
templates/Zen HTML.xml
Normal file
1304
templates/Zen HTML.xml
Normal file
File diff suppressed because it is too large
Load Diff
151
templates/Zen XSL.xml
Normal file
151
templates/Zen XSL.xml
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
<templateSet group="Zen XSL">
|
||||||
|
<template name="tmatch" value="<xsl:template match="$VAR0$" mode="$VAR1$">$END$</xsl:template>" description="<xsl:template match="..." mode="...">...</xsl:template>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR1" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="par" value="<xsl:param name="$VAR0$" >$END$</xsl:param>" description="<xsl:param name="...">...</xsl:param>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="pare" value="<xsl:param name="$VAR0$" select="$VAR1$" />" description="<xsl:param name="..." select="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR1" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="co" value="<xsl:copy-of select="$VAR0$" />" description="<xsl:copy-of select="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="attr" value="<xsl:attribute name="$VAR0$">$END$</xsl:attribute>" description="<xsl:attribute name="...">...</xsl:attribute>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="val" value="<xsl:value-of select="$VAR0$" />" description="<xsl:value-of select="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="xsl:when" value="<xsl:when test="$VAR0$">$END$</xsl:when>" description="<xsl:when test="...">...</xsl:when>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="each" value="<xsl:for-each select="$VAR0$">$END$</xsl:for-each>" description="<xsl:for-each select="...">...</xsl:for-each>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="var" value="<xsl:variable name="$VAR0$">$END$</xsl:variable>" description="<xsl:variable name="...">...</xsl:variable>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="wh" value="<xsl:when test="$VAR0$">$END$</xsl:when>" description="<xsl:when test="...">...</xsl:when>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="ap" value="<xsl:apply-templates select="$VAR0$" mode="$VAR1$" />" description="<xsl:apply-templates select="..." mode="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR1" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="call" value="<xsl:call-template name="$VAR0$" />" description="<xsl:call-template name="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="ch" value="<xsl:choose>$END$</xsl:choose>" description="<xsl:choose>...</xsl:choose>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="choose+" value="<xsl:choose> <xsl:when test="$VAR0$">$VAR1$</xsl:when> <xsl:otherwise>$END$</xsl:otherwise> </xsl:choose>" description="" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR1" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="vare" value="<xsl:variable name="$VAR0$" select="$VAR1$" />" description="<xsl:variable name="..." select="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR1" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="tname" value="<xsl:template name="$VAR0$">$END$</xsl:template>" description="<xsl:template name="...">...</xsl:template>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="if" value="<xsl:if test="$VAR0$">$END$</xsl:if>" description="<xsl:if test="...">...</xsl:if>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="sort" value="<xsl:sort select="$VAR0$" order="$VAR1$" />" description="<xsl:sort select="..." order="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR1" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="proc" value="<xsl:processing-instruction name="$VAR0$">$END$</xsl:processing-instruction>" description="<xsl:processing-instruction name="...">...</xsl:processing-instruction>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="for" value="<xsl:for-each select="$VAR0$">$END$</xsl:for-each>" description="<xsl:for-each select="...">...</xsl:for-each>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="strip" value="<xsl:strip-space elements="$END$" />" description="<xsl:strip-space elements="..." />>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="pres" value="<xsl:preserve-space elements="$END$" />" description="<xsl:preserve-space elements="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="nam" value="<namespace-alias stylesheet-prefix="$VAR0$" result-prefix="$END$" />" description="<namespace-alias stylesheet-prefix="..." result-prefix="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="num" value="<xsl:number value="$END$" />" description="<xsl:number value="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="fall" value="<xsl:fallback>$END$</xsl:fallback>" description="<xsl:fallback>...</xsl:fallback>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="msg" value="<xsl:message terminate="no">$END$</xsl:message>" description="<xsl:message terminate="no">...</xsl:message>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="com" value="<xsl:comment>$END$</xsl:comment>" description="<xsl:comment>...</xsl:comment>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="ot" value="<xsl:otherwise>$END$</xsl:otherwise>" description="<xsl:otherwise></xsl:otherwise>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="tex" value="<xsl:text>$END$</xsl:text>" description="<xsl:text></xsl:text>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="api" value="<xsl:apply-imports/>" description="<xsl:apply-imports/>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="cp" value="<xsl:copy select="$VAR0$"/>" description="<xsl:copy select="..."/>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="attrs" value="<xsl:attribute-set name="$VAR0$">$END$</xsl:attribute-set>" description="<xsl:attribute-set name="...">...</xsl:attribute-set>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="elem" value="<xsl:element name="$VAR0$">$END$</xsl:element>" description="<xsl:element name="...">...</xsl:element>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="inc" value="<xsl:include href="$VAR0$"/>" description="<xsl:include href="..."/>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="imp" value="<xsl:import href="$VAR0$"/>" description="<xsl:import href="..."/>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="xsl" value="<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> $VAR0$ </xsl:stylesheet>" description="" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="key" value="<xsl:key name="$VAR0$" match="$VAR1$" use="$VAR2$" />" description="<xsl:key name="..." match="..." use="..." />" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="VAR0" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR1" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<variable name="VAR2" expression="" defaultValue="""" alwaysStopAt="true" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="!!!" value="<?xml version="1.0" encoding="UTF-8"?>" description="<?xml version="1.0" encoding="UTF-8"?>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
35
templates/html_xml.xml
Normal file
35
templates/html_xml.xml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<templateSet group="html/xml">
|
||||||
|
<template name="t" value="<$TAG$>$END$</$TAG_NAME$>" shortcut="TAB" description="Tag pair" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="TAG" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="TAG_NAME" expression="firstWord(TAG)" defaultValue="""" alwaysStopAt="false" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="true" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
<option name="JSP" value="true" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="T" value="<$TAG$>$SELECTION$</$TAGNAME$> " shortcut="TAB" description="Surround with <tag></tag>" toReformat="true" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="TAG" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="TAGNAME" expression="firstWord(TAG)" defaultValue="""" alwaysStopAt="false" />
|
||||||
|
<context />
|
||||||
|
</template>
|
||||||
|
<template name="T2" value="<$TAG$>$SELECTION$</$TAGNAME$>" description="Surround with <tag></tag> in HTML/JSP" toReformat="false" toShortenFQNames="false" deactivated="true">
|
||||||
|
<variable name="TAG" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="TAGNAME" expression="firstWord(TAG)" defaultValue="""" alwaysStopAt="false" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
<option name="JSP" value="true" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="CD" value="<![CDATA[ $SELECTION$ ]]>" description="Surround with CDATA section" toReformat="false" toShortenFQNames="false" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JSP" value="true" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
221
templates/xsl.xml
Normal file
221
templates/xsl.xml
Normal file
@@ -0,0 +1,221 @@
|
|||||||
|
<templateSet group="xsl">
|
||||||
|
<template name="ai" value="<xsl:apply-imports/>$END$" description="Apply-Imports." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="an" value="<xsl:attribute name="$NAME$">$END$</xsl:attribute>" description="Attribute-Name." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ats" value="<xsl:apply-templates select="$SELECT$"/>$END$" description="Apply-Templates-Select." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="SELECT" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="atsm" value="<xsl:apply-templates select="$SELECT$" mode="$MODE$"/>$END$" description="Apply-Templates-Select-Mode." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="SELECT" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="MODE" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="cos" value="<xsl:copy-of select="$END$"/>" description="Copy-Of-Select." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ctn" value="<xsl:call-template name="$NAME$"/>$END$" description="Call-Template-Name." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="ctnwp" value="<xsl:call-template name="$NAME$"> <xsl:with-param name="$PNAME$" select="$SELECT$"/> </xsl:call-template>$END$" description="Call-Template-Name-With-Param." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="PNAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="SELECT" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="cwt" value="<xsl:choose> <xsl:when test="$TEST$"> $END$ </xsl:when> </xsl:choose>" description="Choose-When-Test." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="TEST" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="cwto" value="<xsl:choose> <xsl:when test="$TEST$"> $END$ </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose>" description="Choose-When-Test-Otherwise." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="TEST" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="fe" value="<xsl:for-each select="$SELECT$"> $END$ </xsl:for-each>" description="For-Each." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="SELECT" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="it" value="<xsl:if test="$TEST$"> $END$ </xsl:if>" description="If-Test." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="TEST" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="kn" value="<xsl:key name="$NAME$" match="$MATCH$" use="$USE$"/>$END$" description="Key-Name." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="MATCH" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="USE" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="o" value="<xsl:otherwise> $END$ </xsl:otherwise>" description="Otherwise." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="pn" value="<xsl:param name="$END$"/>" description="Param-Name." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="tm" value="<xsl:template match="$MATCH$"> $END$ </xsl:template>" description="Template-Match." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="MATCH" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="tmm" value="<xsl:template match="$MATCH$" mode="$MODE$"> $END$ </xsl:template>" description="Template-Match-Mode." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="MATCH" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="MODE" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="tn" value="<xsl:template name="$NAME$"> $END$ </xsl:template>" description="Template-Name." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="tt" value="<xsl:text>$END$</xsl:text>" description="Text." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="vn" value="<xsl:variable name="$NAME$">$END$</xsl:variable>" description="Variable-Name." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="vns" value="<xsl:variable name="$NAME$" select="$SELECT$"/>" description="Variable-Name-Select." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="SELECT" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="vos" value="<xsl:value-of select="$END$"/>" description="Value-Of-Select." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="wp" value="<xsl:with-param name="$NAME$" select="$SELECT$"/>$END$" description="With-Param." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="SELECT" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="wpn" value="<xsl:with-param name="$NAME$" select="$SELECT$"/>$END$" description="With-Param-Name." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<variable name="SELECT" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
<template name="wt" value="<xsl:when test="$TEST$">$END$</xsl:when>" description="When-Test." toReformat="false" toShortenFQNames="true" deactivated="true">
|
||||||
|
<variable name="TEST" expression="" defaultValue="" alwaysStopAt="true" />
|
||||||
|
<context>
|
||||||
|
<option name="COMPLETION" value="false" />
|
||||||
|
<option name="JAVA_CODE" value="false" />
|
||||||
|
<option name="JAVA_COMMENT" value="false" />
|
||||||
|
<option name="JAVA_STRING" value="false" />
|
||||||
|
</context>
|
||||||
|
</template>
|
||||||
|
</templateSet>
|
||||||
Reference in New Issue
Block a user