Sublime Text
   HOME

TheInfoList



OR:

Sublime Text is a shareware
text Text may refer to: Written word * Text (literary theory), any object that can be read, including: **Religious text, a writing that a religious tradition considers to be sacred **Text, a verse or passage from scripture used in expository preachin ...
and
source code editor A source-code editor is a text editor program designed specifically for editing source code of computer programs. It may be a standalone application or it may be built into an integrated development environment (IDE) or web browser. Source-code ed ...
available for
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ser ...
,
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
, and
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, w ...
. It natively supports many
programming languages A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
and
markup languages Markup language refers to a text-encoding system consisting of a set of symbols inserted in a text document to control its structure, formatting, or the relationship between its parts. Markup is often used to control the display of the document ...
. Users can customize it with themes and expand its functionality with plugins, typically community-built and maintained under free-software licenses. To facilitate plugins, Sublime Text features a
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
API An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how ...
. The editor utilizes minimal interface and contains features for programmers including configurable
syntax highlighting Syntax highlighting is a feature of text editors that are used for programming, scripting, or markup languages, such as HTML. The feature displays text, especially source code, in different colours and fonts according to the category of terms ...
,
code folding Code or text folding, or less commonly holophrasting, is a feature of some graphical user interfaces that allows the user to selectively hide ("fold") or display ("unfold") parts of a document. This allows the user to manage large amounts of tex ...
, search-and-replace supporting regular-expressions, terminal output window, and more. It is
proprietary software Proprietary software is software that is deemed within the free and open-source software to be non-free because its creator, publisher, or other rightsholder or rightsholder partner exercises a legal monopoly afforded by modern copyright and i ...
, but a free evaluation version is available.


Features

The following is a list of features of Sublime Text: * "Goto Anything", quick navigation to project files, symbols, or lines * "Command palette" uses adaptive matching for quick keyboard invocation of arbitrary commands *
Simultaneous editing In human–computer interaction, simultaneous editing is an end-user development technique allowing a user to make multiple simultaneous edits of text in a multiple selection at once through direct manipulation. Multiple selections and curso ...
: simultaneously make the same interactive changes to multiple selected areas * Python-based plugin API * Project-specific preferences * Extensive customizability via JSON settings files, including project-specific and platform-specific settings * Cross-platform (Windows,
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
, and Linux) and Supportive Plugins for cross-platform * Compatible with many language grammars from
TextMate TextMate is a general-purpose GUI text editor for macOS created by Allan Odgaard. TextMate features declarative customizations, tabs for open documents, recordable macros, folding sections, snippets, shell integration, and an extensible bund ...


Version history


Version 1

Sublime Text 1.0 was released on 18 January 2008 as an application for the Windows operating system. It supports tabs and side-by-side view of files.


Version 2

Sublime Text 2.0.2 was released on 8 July 2013. Changes from the first version of the software, as promoted on the official Sublime blog, include Retina display support and "Quick Skip Next" functionality.


Themes

* Sublime Text contains 23 visual themes, with the option to download and configure additional themes via third-party plugins. * The minimap feature shows a reduced overview of the entire file in the top-right corner of the screen. The portion of the file visible in the main editor pane is highlighted and clicking or dragging in this view scrolls the editor through the file.


Panels, groups and screen modes

* Screen modes include: showing up to four files at once in panels, a full-screen and distraction-free mode to show one file without interface menus around it.


Column selection and multi-select editing

With this feature a user can select entire text columns at once or place more than one cursor in the text. This allows
simultaneous editing In human–computer interaction, simultaneous editing is an end-user development technique allowing a user to make multiple simultaneous edits of text in a multiple selection at once through direct manipulation. Multiple selections and curso ...
. The cursors behave as if each of them was the only one in the text, moving independently in the same manner. Including to move by one character, by line, by words, and by subwords (
CamelCase Camel case (sometimes stylized as camelCase or CamelCase, also known as camel caps or more formally as medial capitals) is the practice of writing phrases without spaces or punctuation. The format indicates the separation of words with a single ...
, hyphen or underscore delimited), and move to beginning/end of line. This allows editing complex repetitive structures without the use macros or
regular expression A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" ...
s.


Auto-completion

Sublime Text suggests completing entries as the user is typing, informed by the programing language of the current file. It also auto-completes variable names assigned to within the same code base.


Syntax highlight and high-contrast display

The dark background on Sublime Text is intended to reduce eyestrain and improve readability of text by increasing the amount of contrast with the text.


In-editor code building

Users can run code for certain languages from within the editor, reducing the need to switch to a command-line prompt. This function can also be set to build the code automatically every time the file is saved.


Snippets

This feature allows users to save blocks of frequently used code and assign keywords to them. The user can then type the keyword and press to paste the block of code whenever they require it.


Other features

Sublime Text has a number of features in addition to these, including: * Auto-save, which attempts to prevent users from losing their work * Customizable key assignments, a navigational tool which allows users to assign hotkeys to their choice of options in both the menus and the toolbar * Find as you type, begins to look for the text being entered as the user types without requiring a separate
dialog box The dialog box (also called dialogue box (non-U.S. English), message box or simply dialog) is a graphical control element in the form of a small window that communicates information to the user and prompts them for a response. Dialog boxes ar ...
* Spell-check function corrects as you type * Macros * Repeat the last action * A wide selection of editing commands, including indenting and unindenting, paragraph reformatting and line joining


Version 3

Version 3 entered beta on 29 January 2013. At first available only for registered users who had purchased Sublime Text 2, on 28 June 2013 it became available to the general public. However, the very latest development builds still required a registration code. Sublime Text 3 was officially released on 13 September 2017. In May 2018 it was followed by version 3.1 and by version 3.2 in March 2019. Two of the main features that Sublime Text 3 adds include symbol indexing and pane management. Symbol Indexing allows Sublime Text to scan files and build an index to facilitate the features ''Goto Definition'' and ''Goto Symbol in Project''. Pane Management allows users to move between panes via hotkeys.


Version 4

Version 4 was released on 20 May 2021. Major new features included a project-wide context-sensitive auto completion, tab multi-select and support for darkmode. The new version introduced hardware accelerated rendering using OpenGL for large display resolutions and native Apple M1 and ARM64 support. It also shipped internal performance optimizations and updates such as a new Python 3.8 plugin host and extended APIs for extended plugin development.


Package manager

Package Control is an open source third-party package manager for Sublime Text which allows the user to find, install, upgrade and remove plug-ins, usually without restarting Sublime Text. The package manager keeps installed packages up-to-date with an auto-upgrade feature and downloads packages from
GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continu ...
,
BitBucket Bitbucket is a Git-based source code repository hosting service owned by Atlassian. Bitbucket offers both commercial plans and free accounts with an unlimited number of private repositories. Services Bitbucket Cloud Bitbucket Cloud (previ ...
and a custom JSON-encoded channel/repository system. It also handles updating packages cloned from GitHub and BitBucket via
Git Git () is a distributed version control system: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development. Its goals include speed, data in ...
and Hg, as well as providing commands for enabling and disabling packages. The package manager also includes a command to bundle any package directory into a .sublime-package file. Notable third-party packages include: * LSP - Support for the
Language Server Protocol The Language Server Protocol (LSP) is an open, JSON-RPC-based protocol for use between source code editors or integrated development environments (IDEs) and servers that provide programming language-specific features like code completion, syntax hi ...
* Bracket Highlighter – Enhances the basic highlights Sublime Text provides for bracket pairs * SublimeLinter – Code
linting Lint, or a linter, is a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs. The term originates from a Unix utility that examined C language source code. History Stephen C. Johnson, a co ...
(validation) for JavaScript, Perl, PHP, Python, Ruby, and others * Sidebar Enhancements – Enhancements to the Sublime Text sidebar with new options for deleting, opening, moving, creating, editing, and finding files * WordPress – Adds autocompletion and Snippets for the
blog A blog (a truncation of "weblog") is a discussion or informational website published on the World Wide Web consisting of discrete, often informal diary-style text entries (posts). Posts are typically displayed in reverse chronological order s ...
ging platform
WordPress WordPress (WP or WordPress.org) is a free and open-source content management system (CMS) written in hypertext preprocessor language and paired with a MySQL or MariaDB database with supported HTTPS. Features include a plugin architecture ...


Sublime Merge

In 2018, Sublime HQ released Sublime Merge, a Git GUI and
merging Merge, merging, or merger may refer to: Concepts * Merge (traffic), the reduction of the number of lanes on a road * Merge (linguistics), a basic syntactic operation in generative syntax in the Minimalist Program * Merger (politics), the com ...
tool. When installed along with Sublime Text it uses its syntax highlighting packages and they have integrations to interact with each other. Technically Sublime Merge and Text share large parts of the codebase and UI concepts.


See also

*
List of text editors The following is a list of notable text editors. Graphical and text user interface The following editors can either be used with a graphical user interface or a text user interface. Graphical user interface Text user interface Sys ...
*
Comparison of text editors This article provides basic comparisons for notable text editors. More feature details for text editors are available from the '' Category of text editor features'' and from the individual products' articles. This article may not be up-to-date or n ...


References


Further reading

* *


External links

* {{HTML editors C++ software Cross-platform software HTML editors Linux text editors MacOS text editors Python (programming language) software Text editors Unix text editors Windows text editors XML editors