【发布时间】:2013-03-14 16:57:18
【问题描述】:
我正在尝试定义这个实时模板:
/*jslint browser:true*/
/*global $module$, jQuery, angular*/
(function () {
'use strict';
angular.module('$module$').directive('$module$$name$', function () {
return {
restrict: 'A',
templateUrl: '/$module$/views/$name$/$name$.html',
controller: ['$scope',
function ($scope) {
$END$
}]
};
});
}());
但$module$$name 表达式会导致静默错误。
如何在 PhpStorm 的 Live Template 中连接两个变量?
【问题讨论】:
标签: intellij-idea phpstorm webstorm live-templates