angular-snippets icon indicating copy to clipboard operation
angular-snippets copied to clipboard

With ST3, it removes $. Attached fix.

Open amerkay opened this issue 11 years ago • 0 comments

For code-completing say $scope.$on, it removes the dollar "$", making it $scope.on(...). The fix is to have the $ double escaped in "angular-js.sublime-completions". As in: { "trigger": "angular: $on", "contents": "\\$on(${1:name}, ${2:listener})" }

Gist at: https://gist.github.com/amerk86/57214471ba1cf97f1947

amerkay avatar Aug 05 '14 08:08 amerkay