Multiple snippets in one file sublime text 2
Asked Answered
I

1

9

Is it possible to have multiple custom snippets in one file using sublime text 2? Currently you have to create individual files for each snippet.

Innocuous answered 15/2, 2014 at 20:3 Comment(0)
A
11

You can create a *.sublime-completions file. For information on how to do this, see here and here.

Auspicate answered 15/2, 2014 at 20:16 Comment(1)
Sublime Text 4 now requires the user to press TAB twice with *.sublime-completions files. Snippets select the best option on the first TAB keypress.Lexicologist

© 2022 - 2024 — McMap. All rights reserved.