Skip to main content

All Questions

Tagged with
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/...
Leon Gaban's user avatar
  • 2,615
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</...
Xavier Haniquaut's user avatar
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> ...
blackened's user avatar
  • 251
1 vote
1 answer
558 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 "...
beesteak's user avatar
  • 115