What is Sublime Text?
Sublime Text is a text editor written in C++ and Python available on Windows, Mac and Linux. A text editor is a program developers write their code in.
History behind it goes back to 2007 when its creator Jon Skinner quit his job at Google in order to pursue one of his dreams : Create a better text editor that follows three principles
- Simple, minimum interface : we need to focus more on the text and not a myriad of toolbars
- The code should never be hidden by a window
- Take advantage of all the space available : full screen, multi-screens,…
Since the release of its 2.0 version Sublime Text takes in charge 44 major programming languages, while so many plugins are available for rare ones.
Some features our users love
Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words.
Triggered with Ctrl+P, it is possible to:
- Type part of a file name to open it.
- Type @ to jump to symbols, # to search within the file, and : to Go to a line number.
These shortcuts can be combined, so [email protected] may take you to a function read_file within a file text_parser.py. Similarly, tp:100 would take you to line 100 of the same file.
Using information from syntax definitions, Sublime Text automatically generates a project-wide index of every class, method and function. This index powers Goto Definition, which is exposed in three different ways:
- A popup is displayed when hovering over a symbol
- Pressing F12 when the caret is on a symbol
- The Goto Symbol in Project functionality
Symbol indexing can be customized on a per-syntax basis via configuration files, allowing users to tailor the feature to their needs.
Make ten changes at the same time, not one change ten times. Multiple selections allow you to interactively change many lines at once, rename variables with ease, and manipulate files faster than ever.
Try pressing Ctrl+Shift+L to split the selection into lines and Ctrl+D to select the next occurrence of the selected word. To make multiple selections with the mouse, take a look at the Column Selection documentation.
The Command Palette holds infrequently used functionality, like sorting, changing the syntax and changing the indentation settings. With just a few keystrokes, you can search for what you want, without ever having to navigate through the menus or remember obscure key bindings.
Show the Command Palette with Ctrl+Shift+P.
Powerful API and Package Ecosystem
- Sublime Text has a powerful, Python API that allows plugins to augment built-in functionality.
- Package Control can be installed via the command palette, providing simple access to thousands of packages built by the community.
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.
Get the most out of your wide screen monitor with split editing support. Edit files side by side, or edit two locations in the one file. You can edit with as many rows and columns as you wish. Take advantage of multiple monitors by editing with multiple Windows, and using multiple splits in each window.
Take a look at the View ▶ Layout menu for split editing options. To open multiple views into the one file, use the File ▶ New View into File menu item.
Instant Project Switch
Projects in Sublime Text capture the full contents of the workspace, including modified and unsaved files. You can switch between projects in a manner similar to Goto Anything, and the switch is instant, with no save prompts – all your modifications will be restored next time the project is opened.
Sublime Text is built from custom components, providing for unmatched responsiveness. From a powerful, custom cross-platform UI toolkit, to an unmatched syntax highlighting engine, Sublime Text sets the bar for performance.
Sublime Text is available for Mac, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses.
Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.