All Questions
Tagged with snippets sublime-text-3
6
questions
3
votes
1
answer
1k
views
How to create new JavaScript snippet for Sublime Text 3?
I want c to trigger console.log()
The snippet I created has the correct syntax below and is in the correct folder paths according to these articles: http://www.hongkiat.com/blog/sublime-code-snippets/...
3
votes
1
answer
634
views
Sublime paste in snippet
I have got a sublime snippet to get console.log in js who look like that :
<snippet>
<content><![CDATA[console.log('$1', $1);]]></content>
<tabTrigger>cl</...
1
vote
1
answer
227
views
Dynamic Text Snippets?
Suppose my snippet is:
<snippet>
<content><![CDATA[
1example \>
]]></content>
<tabTrigger>1e</tabTrigger>
<scope>text.tex.latex</scope>
...
0
votes
1
answer
325
views
Make sublime auto-insert semicolon after colon in SCSS files just like it does with CSS?
Sublime auto-inserts a semicolon after typing a colon in CSS files, but not in SCSS files. I would like this behavior.
1
vote
1
answer
560
views
SublimeText3 double-backslash in snippet
I'm using SublimeText3 with LaTeXTools for my LaTeX work and want it to insert a double-backslash+newline when I hit ctrl+enter. Like this:
asdf\\
foobar
I tried inserting the following into "...
1
vote
1
answer
534
views
How to create a snippet in Sublime Text 3 on Windows 8.1. Snippets do not trigger
I cannot create a working snippet in ST3 on Windows 8.1. tabTrigger just doesn't print anything.
For instance, I want to create a snippet @mixin for .scss files. Here is how I create it.
Tools > ...