Sublime Text, while being a lightweight text editor, provides powerful IDE-like features, Python scripting, and the ability to customize every aspect of the editor itself, letting users code and refactor with speed and efficiency.
Ranked in these QuestionsQuestion Ranking
Pro Comfortable to work with
Sublime Text has a minimap on the side that provides a top-down view of the file and keyboard shortcuts for most actions. It's also supports a large number of languages and general text editing features out of the box.
Pro Functionality can be easily extended
Sublime Text uses TextMate's syntax declaration files to support new languages, has all its menus and keybindings generated from JSON files, and can be scripted to add new features using Python.
If Sublime Text doesn't support a desired language or feature, it's usually not long before someone implements it themselves - examples include the plugin package manager and the 'open in browser' command.
By default it is very lightweight. With Package Control customization happens on the fly.
Pro Multi-line select and editing
Multiple cursors & column selection allow versatile ways of editing.
ctrl + d will select the current word and each time the command is repeated add the next occurence of the word to the selection.
ctrl + click or
middle-mouse click will place another cursor in the place that's clicked. Cursors can then be controlled together. This also allows selecting vertically.
ctrl + shift + l will place a cursor on every highlighted line.
Does not drown you in keyboard shortcuts or non-intuitive use-concepts as you start using it, but high-level functionality can still be easily accessed when the need for it arises.
Pro Consistent cross-platform
Looks consistently the same across Windows, OS X and Linux.
Pro The Command Palette
The Command Palette allows fuzzy searching all available settings, snippets, etc.
Pro Instant file switching
Open Goto Anything by pressing Ctrl or Command + P and using fuzzy search you can look for a file in your project. The file will load even without pressing enter, so you can make sure you've found the correct file without committing.
Pro IDE features without the cruft
Sublime Text, while being lighter-weight than an IDE, still supports many IDE features.
- Text from the current file is used to provide autocomplete
- Project Support (folder browsing, scoped history, build-system declarations)
- Refactoring support is emulated through multi-select, project-wide find & replace, and regular expression search
- Syntax-aware selection and GoTo for quickly jumping to locations in the project
- Snippets & Macros
- A Python console for everything else
Pro Fully customizable
Allows all sorts of customization to help users change almost everything in the editor: Key Bindings, Menus, Snippets, Macros, Completions and more - just about everything in Sublime Text is customizable with simple JSON files. This system gives you flexibility as settings can be specified on a per-file type and per-project basis.
Pro Distraction free editing mode
Distraction free editing takes over your screen and removes every UI element so you can focus on code.
Pro Regex commands
Pro Allows for vim-style editing
Vintage mode is vim-style editing that's already built in the text editor.
Pro Easy to get started
Everything you need is to install a package manager and modify user configuration.
Pro Projects support multiple folders and git repos
Pro Support for TextMate themes and window decoration themes
Sublime Text compatibility with Textmate bundles is good excluding commands, which are incompatible. In general, Sublime Text syntax definitions are compatible with Textmate language files (.tmLanguage extension).
Pro Haxe and OpenFL Integration via plugin
Pro Has tons of plugins available
Sublime Text protects and copyrights its code and is thus not the freedom-ware some would like it to be.
Con Loading big files on Windows is slow
A rough comparison: a 70 MB file takes about 2 seconds to load in Notepad++. The same file in ST3 takes over 10 seconds.
Con Poor support for far-east languages in Linux
Con No default package manager
Sublime text does not have a default package manager. Instead, users have to install a third-party solution to manage addons.
Con Crashes often because of lacking quality of plugins
Some plugins are quite buggy, hence installing many can become quite a problem regarding stability.
Con No printing of files
Sublime offers no way of printing the files it edits.
Con No toolbar
Sublime is more focused on keyboard users, and doesn't come with a tool bar. Even plugins can't toggle bookmarks using the mouse.
Con Annoying whitespace management
All too often, it does the Wrong Thing with indentation on otherwise blank lines.