Skip to content

Instantly share code, notes, and snippets.

@lozadaOmr
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save lozadaOmr/99695fb534fa798582a7 to your computer and use it in GitHub Desktop.

Select an option

Save lozadaOmr/99695fb534fa798582a7 to your computer and use it in GitHub Desktop.

Steps:

  1. Tools
  2. New Snippet
<snippet>
	<content><![CDATA[
Route::get('test', function() {
     // don't convert the tabs into spaces
});
]]></content>
	<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
	<!-- <tabTrigger>hello</tabTrigger> -->
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
	<!-- <scope>source.python</scope> -->
</snippet>
  1. Save, [name].sublime-snippet remember the name
  2. CTRL + SHIFT + P
  3. Type snippet
  4. Look for the name you used when saving the snippet
  5. HIT enter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment