Skip to content

Instantly share code, notes, and snippets.

@Gr1N
Last active July 18, 2017 14:09
Show Gist options
  • Save Gr1N/3515209795b91ff862a4 to your computer and use it in GitHub Desktop.
Save Gr1N/3515209795b91ff862a4 to your computer and use it in GitHub Desktop.
Setting up Sublime Text for development

Preferences

Sublime Text > Preferences > Settings – User

{
    "always_show_minimap_viewport": true,
    "auto_complete_triggers":
    [
        {
            "characters": ".",
            "selector": "source.python"
        }
    ],
    "binary_file_patterns":
    [
        "*.jpg",
        "*.jpeg",
        "*.png",
        "*.gif",
        "*.ttf",
        "*.tga",
        "*.dds",
        "*.ico",
        "*.eot",
        "*.pdf",
        "*.swf",
        "*.jar",
        "*.zip"
    ],
    "bold_folder_labels": true,
    "color_scheme": "Packages/User/SublimeLinter/earthsong (SL).tmTheme",
    "dictionary": "Packages/Dictionaries/Russian.dic",
    "enable_tab_scrolling": false,
    "ensure_newline_at_eof_on_save": true,
    "file_exclude_patterns":
    [
        "*.pyc",
        "*.pyo",
        "*.exe",
        "*.dll",
        "*.obj",
        "*.o",
        "*.a",
        "*.lib",
        "*.so",
        "*.dylib",
        "*.ncb",
        "*.sdf",
        "*.suo",
        "*.pdb",
        "*.idb",
        ".DS_Store",
        "*.class",
        "*.psd",
        "*.db",
        "*.log*",
        "*.sublime-*",
        ".coverage"
    ],
    "folder_exclude_patterns":
    [
        ".svn",
        ".git",
        ".hg",
        ".hgcheck",
        "CVS",
        "__pycache__",
        ".idea",
        ".tox",
        "node_modules",
        "vendor",
        "*egg*",
        "htmlcov",
        ".cache",
        ".mypy_cache"
    ],
    "font_size": 12,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
        "Python",
        "Vintage"
    ],
    "open_files_in_new_window": false,
    "rulers":
    [
        80,
        120
    ],
    "scroll_past_end": true,
    "show_encoding": true,
    "show_full_path": true,
    "spacegray_fileicons": true,
    "spacegray_sidebar_font_normal": true,
    "spacegray_sidebar_tree_small": true,
    "spacegray_tabs_font_small": false,
    "spacegray_tabs_small": true,
    "spell_check": false,
    "tab_size": 4,
    "theme": "Spacegray Eighties.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true
}

Sublime Text > Preferences > Key Bindings – User

[
    {
        "keys": ["super+.", "super+g"],
        "command": "gotools_goto_def",
        "context": [
            {"key": "selector", "operator": "equal", "operand":  "source.go - string - comment"}
        ]
    }
]

Package Control

Installation instructions and official documentation.

Themes

Packages

Cutting edge syntax highlighter for Python 3.

Some UTF8-ready dictionaries for the spell checker feature of Sublime Text.

Install via package control and setup your Sublime Text > Preferences > Settings – User:

{
    "spell_check": true,
    "dictionary": "Packages/Dictionaries/Russian.dic"
}

EditorConfig helps developers maintain consistent coding styles between different editors.

Shows diffs between the current file, or selection(s) in the current file, and clipboard, another file, or unsaved changes. Can be configured to show diffs in an external diff tool.

Plugin to set the PATH correctly on OS X.

Better JavaScript language definition for SublimeText. This builds on the language files commonly used and adds more fine grained matching and also includes new features from ECMAScript 6 like modules, succinct methods, arrow functions, classes, generators, and accessors (ES5).

SublimeJEDI is a Sublime Text plugin to the awesome autocomplete library Jedi.

Preview and build your markdown files quickly in your web browser from Sublime Text.

Modific is a Sublime Text plugin for highlighting lines changed since the last commit.

Supports:

  • Git
  • SVN
  • Bazaar
  • Mercurial
  • TFS

Provides enhancements to the operations on Sidebar of Files and Folders for Sublime Text.

SublimeLinter is a plugin for Sublime Text 3 that provides a framework for linting code.

Linter plugins:

GoTools is a Go programming language plugin for Sublime Text 3 inspired by vim-go. Rather than attempting to reinvent various supporting IDE components, it provides integration with existing community-supported tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment