Update August 2018: I use Code now.
Blog posts like these (the latest of which is Dominik Schilling’s) have helped me find packages in the past, so I thought it was time I published my own.
I use Sublime Text 3 for the same reason as Dominik. It’s exceptionally fast. One day I will inevitably switch to the free and open source Atom editor, but it’s got a long way to go until it can match ST3’s performance.
Here are the packages I use:
- AlignTab: A much more powerful version of the Alignment package. Supports regexes and table mode.
- CodeComplice: Modern and so-far-reliable code intelligence. Provides ‘Jump to Definition’, inline parameter hints, etc.
- ColorPicker: A simple colour picker.
- DashDoc: A super fast way of opening Dash for a function.
- DocBlockr: A killer package for writing docblocks.
- FileDiffs: Instantly generates a diff between files, unsaved changes, selections, clipboard, etc.
- Function Name Display: Contextually displays the current class/method/function name in the status bar. Very handy for large files and large lists of goto results.
GotoDocumentation:Replaced by DashDoc.- HTML-CSS-JS Prettify: Pretty-prints HTML, CSS, and JavaScript files.
- Markdown Preview: Export a preview of a Markdown file to the browser, clipboard, etc.
- Package Control: Essential.
- PackageResourceViewer: Don’t use it often, but handy for opening Sublime package files (eg. themes).
- Phpcs: The most reliable package for running PHP CodeSniffer (Pro tip: turn off automatic sniffing).
- Pretty JSON: Switch between pretty-printed and compressed JSON.
- SublimeLinter: The framework for linters in Sublime.
- SublimeLinter-jshint: Linter for JavaScript files.
- SublimeLinter-php: Linter for PHP files.
- SyncedSideBar: Syncs the position of the Folders sidebar with the current open file.
- Text Pastry: Lots of funky additions to Sublime’s multiple selection functionality.
- Toggle Words: Toggles a word between its opposite, eg true/false, top/bottom, yes/no.
- ToggleQuotes: Toggles a quoted string between single and double quotes.
- Xdebug Client: Local and remote Xdebug client.
In addition, I use the following syntax highlighting packages:
The theme I use is Soda Light, and the colour scheme I use is a somewhat personalised version of Snappy Light.
Here’s my Preferences.sublime-settings
file:
{ "always_show_minimap_viewport": false, "atomic_save": false, "auto_close_tags": false, "auto_complete_selector": "source", "color_scheme": "Packages/User/SnappyLight (SL).tmTheme", "copy_with_empty_selection": false, "detect_indentation": false, "draw_minimap_border": true, "enable_telemetry": false, "file_exclude_patterns": [ "*.min.*", "*.log", ".DS_Store" ], "find_selected_text": true, "folder_exclude_patterns": [ ".svn", ".git", ".sass-cache", "node_modules" ], "font_size": 12, "highlight_line": true, "ignored_packages": [ "Vintage" ], "indent_guide_options": [ "draw_active", "draw_normal" ], "line_padding_top": 1, "match_brackets_angle": true, "open_files_in_new_window": false, "rulers": [ 120 ], "scroll_past_end": true, "shift_tab_unindent": true, "show_encoding": true, "show_full_path": true, "show_line_endings": true, "theme": "Soda Light 3.sublime-theme", "wide_caret": true, "word_wrap": true }
Any packages you think I should be using? Leave a comment.
I didn’t know about Function Name Display, that’s a handy little addition.
Three essentials for me are GitGutter, TodoReview and WordPress Developer Resources. My current theme of choice is Cobalt2, it’s especially easy on the eyes for night-time coding.
Great plugin list. These plugins are quite handy too:
– Table of comments
– Expand Region
– Modific ( I preferred it over git gutter )
One quick question, why do you prefer CodeComplice over CodeIntel ?
CodeComplice is a new fork of CodeIntel which is being actively improved. It’s got vastly better performance than CodeIntel and (so far at least) fewer bugs.
Emmet is awesome for tons of shortcuts: https://github.com/sergeche/emmet-sublime#readme