Questions tagged [sublimetext-snippet]

Related to the creation of code snippets in Sublime Text editor

This quote from the Unofficial Documentation sums it up:

Whether you are coding or writing the next vampire best-seller, you’re likely to need certain short fragments of text again and again. Use snippets to save yourself tedious typing. Snippets are smart templates that will insert text for you and adapt it to their context

47 questions
-1
votes
1 answer

How to bind a key for selected text in Sublime Text?

So I have a text for example "this is sample text" and I want it to become this "" I want to work this function like this: I select any text and use hotkey like ctrl+t or so. I use Sublime Text 3. How can I do this for…
-2
votes
1 answer

Sublime Text snippet doesn't work with IIFE

This code snippet I added to Sublime Text 3 does not work on the tab trigger unless I remove the iife.
Richard
  • 2,396
  • 23
  • 23
1 2 3
4