Sublime Forum

Sublime snippet recognized in Command pallette, but can't trigger it in a file

#1

I have the below snippet. When I type “snip lib” in the command palette, I see it listed as “Snippet: ActivistMMT libsyn footer.” But I’m not seeing it when typing “Activist” or “libsyn” in either a text or html file.

There’s currently no scope. It also does not work when I uncomment the scope line (which is as I expect).

What am I missing? Thanks.

<snippet>
	<content><![CDATA[
<h3>#LearnMMT</h3>

<p>For an overview of Modern Monetary Theory (MMT) with many reliable sources to learn more, here is a good place to start:

<ul>
    <li>On the web: <a href="https://citizensmedia.tv/2019/10/26/mmtintro/">My layperson intro</a> with many expert sources listed at the bottom.</li>
    <li>On Twitter: <a href="https://twitter.com/ActivistMMT/status/1189357776797077504?s=20">My massive pinned tweet</a> with expert sources and layperson tutorials.</li>
    <li>On Facebook: Follow <a href="https://www.facebook.com/activistmmt">this podcast</a> :) The pinned post contains the above web-article. Also, the <a href="https://www.facebook.com/groups/MMTforRP/permalink/1795759297404333/">pinned post</a> on Modern Monetary for Real Progressives contains a wealth of information.</li>
</ul></p>

<h3>Please become a monthly patron of Activist #MMT</h3>

<p>We shouldn't have to beg,
<br/>but we do have to beg.
<br/>So it's not *that* we beg,
<br/>but *who* we beg.</p>

<p>I am choosing to beg you, my listeners, to financially support this show.</p>

<ul>
    <li>\\$1 patrons get exclusive access to episodes (generally) four days before they are released to the public, and exclusive patron only content, updates, and opportunities.</li>
	<li>\\$5 patrons get much earlier access to episodes – sometimes weeks, or even months in advance.</li>
</ul>

<p>To be clear, all episodes of Activist #MMT are free for all, forever. Patrons only get the opportunity to hear them before the public.</p>

<p>Take a listen. If you like what you hear, thank you for considering becoming a patron of Activist #MMT (here: https://www.patreon.com/activistmmt).</p>

<p>✌️, ❤️, and #MMT 🦉</p>
]]></content>
	<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
	<tabTrigger>Activist #MMT Libsyn footer</tabTrigger>
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
	<!-- <scope>text.html</scope> -->
	<!-- <description>Blank html page</description> -->
</snippet>
0 Likes

#2

In case of snippets, I believe, the description is what you can use to filter it in the command palette. The tabTrigger is what appears on the extreme right side in a small font size (ST does not take that into account for it’s fuzzy matching)

0 Likes

#3

Pffft. It seems I just needed to restart Sublime. Grumble grumble. I didn’t change a thing.

Thanks.

0 Likes