Sublime Forum

Sublime Text snippet trigger not working!

#1
    <snippet>
    <content>
    <![CDATA[

	#include<iostream>
	#include<algorithm>
	#include<vector>
	#include<map>
	#include<climits>
	using namespace std;
	#define pb push_back
	#define TEST_CASES  ll t;cin>>t;while(t--)
	#define mp make_pair
	#define fio ios_base::sync_with_stdio(false); cin.tie(NULL);
	typedef long long int ll;
	int main(){
	#ifndef ONLINE_JUDGE
		freopen("input.txt", "r", stdin);
		freopen("output.txt", "w", stdout);
	#endif
	${1:this}
	}
    ]]>
    </content>
     <tabTrigger>_abc</tabTrigger>
     <scope>source.cpp</scope>
    </snippet>

this is my snippet… and it doesn’t shows up when i type _abc(tab) .

0 Likes

#2

I believe the scope is source.c++ & not source.cpp.

0 Likes

#3

thanks bro… now it’s working!!

0 Likes