Skip to content

Instantly share code, notes, and snippets.

@lortza
Forked from iambibhas/scopes.txt
Last active September 19, 2018 04:06
Show Gist options
  • Save lortza/10fed5924dc24b6049e8b6c67c2b4e6d to your computer and use it in GitHub Desktop.
Save lortza/10fed5924dc24b6049e8b6c67c2b4e6d to your computer and use it in GitHub Desktop.
Sublime Text 2: Snippet scopes, preferences
{
"binary_file_patterns":
[
"node_modules/",
"package-lock.json"
],
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
],
"folder_exclude_patterns":
[
"tmp",
"coverage",
".git",
"log"
],
"font_size": 12,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true,
"show_full_path": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": true
}
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CoffeeScript: source.coffee
CSS: source.css
D: source.d
Diff: source.diff
Erlang: source.erlang
Go: source.go
GraphViz: source.dot
Groovy: source.groovy
Haskell: source.haskell
HTML: text.html(.basic)
JSP: text.html.jsp
Java: source.java
Java Properties: source.java-props
Java Doc: text.html.javadoc
JSON: source.json
Javascript: source.js
BibTex: source.bibtex
Latex Log: text.log.latex
Latex Memoir: text.tex.latex.memoir
Latex: text.tex.latex
LESS: source.css.less
TeX: text.tex
Lisp: source.lisp
Lua: source.lua
MakeFile: source.makefile
Markdown: text.html.markdown
Multi Markdown: text.html.markdown.multimarkdown
Matlab: source.matlab
Objective-C: source.objc
Objective-C++: source.objc++
OCaml campl4: source.camlp4.ocaml
OCaml: source.ocaml
OCamllex: source.ocamllex
Perl: source.perl
PHP: source.php
Regular Expression(python): source.regexp.python
Python: source.python
R Console: source.r-console
R: source.r
Ruby on Rails: source.ruby.rails
Ruby HAML: text.haml
Ruby erb: text.html.ruby
SQL(Ruby): source.sql.ruby
Regular Expression: source.regexp
RestructuredText: text.restructuredtext
Ruby: source.ruby
SASS: source.sass
Scala: source.scala
Shell Script: source.shell
SQL: source.sql
Stylus: source.stylus
TCL: source.tcl
HTML(TCL): text.html.tcl
Plain text: text.plain
Textile: text.html.textile
XML: text.xml
XSL: text.xml.xsl
YAML: source.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment