N
N
Nikolay2016-07-31 19:04:16
PHP
Nikolay, 2016-07-31 19:04:16

Auto select snippets from Gist to sublime text by file extension?

Gist has labels for snippets, so here's how to make sure that, according to the type of document (syntax selected), only those snippets drop out in ST3 that are related to this type of document in which they are currently called.
Those. I chose the php syntax in ST - all snippets are offered only with the php label...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gran Torino, 2016-10-22
@adrin13

I solve it like this - I give all tags a single name format, like:
jq: tag description
php: tag description
wp: > plugin: tag description
Next, when loading gists, I start typing the beginning "jq" or "php" or ... and the editor filters out suitable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question