This is my complete sublime text configuration. Set up for html, css, javascript and python on Linux. Each plugin has a link to either their github page or their website. All plugins but package control itself are available through package control. All of them work perfectly with Sublime Text 3.
- Package control - Self explanatory
- Bracket highlighter - Highlights brackets in your line numbers and inline. Very useful for nested html or js objects.
- Emmet - The must have html and css plugin.
- all autocomplete - Enhances your autocomplete with words from all your open files, very useful.
- auto semi-colon - Automatically inserts a semicolon at the end of the file if you type one, so you don't have to move your cursor around all the time Alternatively, you could use the the following macro to insert a semicolon at the end of the line for you.
[
{ "command": "set_mark" },
{ "command": "move_to", "args": {"to": "eol"} },
{ "command": "insert_snippet", "args": {"contents": "${TM_LINE_TERMINATOR:;}"} },
{ "command": "swap_with_mark" }
]
I've set this macro to activate on double keypress of the ;
key as follows in my user keymap file:
{ "keys": [";", ";"], "command": "run_macro_file", "args": {"file": "Packages/User/macros/insert-semicolon.sublime-macro"} },
- docBlockr - Neat doc comments, supports a large amount of programming languages
- autoFileName - autocompletion for filenames, useful for many different things, just press tab like you're used to
- Git - Git in sublime, useful. (there are some alternative git plugins too)
- Sublime linter - Linting for several languages
- Sublime CodeIntel - Autocomplete for several languages (not a great fan of it since it bloats autocomplete with unrelated results and only does what you want half of the time with Python and JS)
- sftp - an sftp file transfer plugin for ST, one of my favorite plugins, it's made by the developers of the package control package.
- Advanced New File - Very quick file creation, does folder autocompletion too!
- alignment - Useful for aligning blocks of text like below. Made by the devs of the package control package.
var justANumber = 12;
var aLargerNumber = 3934;
var small = "I'm smaller!";
var lastVariable = 3.141592653589793238462;
-
colorhighlighter - Shows the color on color values, ex: red would get a red background.
-
dictionaryautocomplete - Installs a dictionary to autocomplete from, it does slow down ST's autocomplete a little, but might be useful for writers.
-
css3 syntax highlighting - Enhanced css3 syntax highlighting, the built-in one misses some newer features
-
jsFormat - Beautifies your javascript. I've configured it to run on file save in my jsformat settings file.
-
Pretty JSON - Beautifier for json files. (jsFormat also includes a json beautifier I believe)
-
html beautify - Beautifier for html files. I've configured it to run on file save in my settings file.
-
sublime REPL - Interactive coding console, think console Python/ruby/node.js/lisp but then directly in sublime text. Supports a few dozen languages. One of my favorite plugins.
-
moveText - With this you can move your selection left and right as well as up and down. And use
{"keys": ["ctrl+up"], "command": "move_text_right"}, {"keys": ["ctrl+down"], "command": "move_text_left"}
In your keybindings
- base16 theme - About 20 different color schemes to choose from, you can preview all of them here
- Spacegray - A hyperminimal UI theme for Sublime Text, this is what I currently use.
- Flatland - A simple theme for Sublime, I've used this one for a long time.
- Predawn - A theme for Sublime that stays very true to its name, very relaxing and especially good in the mornings.