Skip to content

Instantly share code, notes, and snippets.

@keegoid
Last active December 24, 2019 06:57
Show Gist options
  • Save keegoid/3a40a8d3bf549e8d01a79a47073a7ad8 to your computer and use it in GitHub Desktop.
Save keegoid/3a40a8d3bf549e8d01a79a47073a7ad8 to your computer and use it in GitHub Desktop.
Sublime Text 3 development setup

Sublime Text 3 Development Setup

How to configure Sublime Text 3 for professional software development on Ubuntu 19.10.

Global Settings

Start Sublime Text 3 from non-login shell so it can have access to shell environment variables like PATH. Use subl to do this.

Color Scheme: Mariana - override background color to match Seti_UI theme
Theme: Seti_UI - select the Seti_orig theme

Custom key bindings can be set for linting and formatting actions.

Javascript

Type Package Option Requirements
Color Scheme Babel Next syntax specific
Syntax Babel js file type set to JavaScript (Babel)
Code Completion JavaScript Enhancements automatic Node & TerminalView
Linter SublimeLinter-jshint automatic Node & jshint
Formatter JsPrettier ctrl+alt+j Node & Prettier

Python

Type Package Option Requirements
Color Scheme global
Syntax default py file type set to Python
Code Completion Kite automatic Kite
Linter SublimeLinter-flake8 automatic flake8
Formatter AutoPEP8 ctrl+alt+8

Bash

Type Package Option Requirements
Color Scheme global
Syntax default sh file type Bourne Again Shell (Bash)
Code Completion
Linter SublimeLinter-ShellCheck automatic shellcheck
Formatter

Ruby

YAML

Type Package Option Requirements
Color Scheme global
Syntax default yml or yaml file type YAML
Code Completion
Linter SublimeLinter-YamlLint automatic yamllint
Formatter

Markdown

Type Package Option Requirements
Color Scheme MarkdownEditing ArcDark syntax specific
Syntax default md file type Markdown GFM
Code Completion
Linter MarkdownEditing ctrl+alt+m
Formatter

Other Markdown Packages

Markdown Preview - export Markdown to browser
LiveReload - reload Markdown in browser on save
MarkdownTOC - for creating and updating Markdown table of contents
Markdown Table Formatter - for quickly creating tables in Markdown

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