Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
| (function(XHR) { | |
| "use strict"; | |
| var stats = []; | |
| var timeoutId = null; | |
| var open = XHR.prototype.open; | |
| var send = XHR.prototype.send; | |
| [ | |
| { | |
| "name": "Afghanistan", | |
| "dial_code": "+93", | |
| "code": "AF" | |
| }, | |
| { | |
| "name": "Aland Islands", | |
| "dial_code": "+358", | |
| "code": "AX" |
| <snippet> | |
| <content><![CDATA[ | |
| `${1:cadena de texto}` | |
| ]]></content> | |
| <tabTrigger>tmpstr</tabTrigger> | |
| <scope>source.js, source.jsx, source.ts</scope> | |
| <description>String template</description> | |
| </snippet> |
| (function (global) { | |
| if ( !global.Event && !('keys' in Object) && !('bind' in Function) ) { return } | |
| var eventProto = Event.prototype, | |
| EVENTS = { | |
| 'mouse': [ 'click', 'dblclick', 'contextmenu', 'mousedown', 'mouseup', 'mouseover', 'mousemove', 'mouseout', 'drag', 'dragend', 'dragenter', 'dragleave', 'dragover', 'drop'], | |
| 'key': [ 'keydown', 'keypress', 'keyup', 'input'], | |
| 'res': [ 'load', 'unload', 'beforeunload', 'abort', 'error', 'resize', 'scroll', 'readystatechange' ], | |
| 'form': [ 'select', 'change', 'submit', 'reset', 'focus', 'blur' ], | |
| 'ui': [ 'DOMFocusIn', 'DOMFocusOut', 'DOMActivate', 'DOMCharacterDataModified', 'DOMNodeInserted', 'DOMNodeRemoved', 'DOMSubtreeModified' ], |
| <h1>Pure CSS - file icons</h1> | |
| <h2>with nice hover animation</h2> | |
| <div class="icons"> | |
| <div class="icon icon--doc"><i title="doc"></i></div> | |
| <div class="icon icon--pdf"><i title="pdf"></i></div> | |
| <div class="icon icon--sheets"><i title="xlsx"></i></div> | |
| <div class="icon icon--slides"><i title="ppt"></i></div> | |
| <div class="icon icon--code"><i title="xml"></i></div> | |
| </div> |
Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^(.*)$ index.php/$1 [L] |
| /** | |
| * PATH | |
| */ | |
| C:\Program Files (x86)\Android\android-sdk\tools; | |
| C:\Program Files (x86)\Android\android-sdk\platform-tools | |
| /** | |
| * Agregar nuevas variables de entorno | |
| */ |
| form i.icon.error { | |
| color: $assertive; | |
| } | |
| form input + i.icon.error { | |
| display: none; | |
| margin-left: 8px; | |
| } | |
| form.ng-submitted input.ng-invalid + i.icon.error { |