Sublime Text
{{short description|Text editor}}
{{Use dmy dates|date=June 2021}}
{{primary sources|date=February 2012}}
{{Infobox software
| name = Sublime Text
| logo = Sublime Text 3 logo.png
| logo size = 150px
| screenshot =
| caption =
| collapsible =
| developer = {{#statements:developer|from=Q267193}}
| released = {{start date and age|{{wikidata|property|Q267193|P571}}}}
| latest release version = {{wikidata|property|preferred|references|edit|Q267193|P348|P548=Q2804309}}
| latest release date = {{start date and age|{{wikidata|qualifier|preferred|single|Q267193|P348|P548=Q2804309|P577}}}}
| latest preview version = {{wikidata|property|preferred|references|edit|Q267193|P348|P548=Q51930650}}
| latest preview date = {{start date and age|{{wikidata|qualifier|preferred|single|Q267193|P348|P548=Q51930650|P577}}}}
| programming language = {{#statements:P277|from=Q267193}}
| operating system = {{#statements:P306|from=Q267193}}
| platform = {{#statements:platform|from=Q267193}}
| genre = {{#statements:P921|from=Q267193}}
| license = Shareware{{cite web |url=https://www.sublimetext.com/eula |title=Sublime Text EULA |publisher=Sublime HQ Pty Ltd |access-date=22 September 2017 |archive-date=26 April 2018 |archive-url=https://web.archive.org/web/20180426180303/http://www.sublimetext.com/eula |url-status=live }}
| website = {{#statements:P856|from=Q267193}}
}}
Sublime Text is a text and source code editor featuring a minimal interface, syntax highlighting and code folding with native support for numerous programming and markup languages, search and replace with support for regular expressions, an integrated terminal/console window, and customizable themes. Available for Windows, macOS, and Linux, its functionality can be expanded with plugins written in Python. Community-contributed plugins can be downloaded and installed via a built-in Package Control system, or written by the user via a Python API. Sublime Text is proprietary software, but can be downloaded for free and used as an evaluation version with no time limit.
Features
Features of Sublime Text include{{cite web |url=https://www.sublimetext.com/ |title=Sublime Text |publisher=Sublime HQ Pty Ltd |access-date=14 March 2014 |archive-date=16 March 2014 |archive-url=https://web.archive.org/web/20140316033831/http://www.sublimetext.com/ |url-status=live }} quick navigation to symbols, lines, or project files;{{cite web |url=http://www.thewebdesignbay.com/development/sublime-text-2-review/ |title=Features |publisher=thewebdesignbay.com |access-date=13 November 2012 |url-status=dead |archive-url=https://web.archive.org/web/20121108184059/http://www.thewebdesignbay.com/development/sublime-text-2-review |archive-date=8 November 2012 }} a "command palette" with adaptive matching for quick keyboard invocation of frequently used commands; simultaneous editing; a Python-based API for plugins; project- and syntax-specific preferences; extensive customizability via JSON settings files, including project- and platform-specific settings; cross-platform support (Windows, macOS, and Linux) and associated support for writing cross-platform plugins; and support for TextMate language grammars.
Limitations
As of version 4, Sublime Text does not support editing right-to-left languages such as Hebrew, Arabic, and Persian.{{Cite web|url=https://commons.wikimedia.org/wiki/File:Sublime-Text.png|title=Screenshot of Sublime Text 4 displaying multilingual text rendering|date=2024-11-28|website=Wikimedia Commons|publisher=Wikimedia Foundation|access-date=2024-11-28}}
Version history
=Version 1=
Sublime Text 1.0 was released on 18 January 2008 as an application for the Windows operating system.{{cite web | url = https://www.sublimetext.com/blog/articles/one-point-oh | title = Sublime Blog | access-date = 15 June 2022 | archive-date = 1 July 2022 | archive-url = https://web.archive.org/web/20220701072654/https://www.sublimetext.com/blog/articles/one-point-oh | url-status = live }} It supports tabs and side-by-side view of files.
=Version 2=
Sublime Text 2.0 was released on 26 June 2012. It was the first release to support Linux and OS X. Other changes from the first version of the software, as promoted on the official Sublime blog, include Retina display support and "Quick Skip Next" functionality.{{cite web |url= https://www.sublimetext.com/blog/articles/sublime-text-2-0-released |title= Sublime Blog |access-date= 11 April 2015 |archive-date= 1 May 2015 |archive-url= https://web.archive.org/web/20150501002658/http://www.sublimetext.com/blog/articles/sublime-text-2-0-released |url-status= live }}
==Themes==
File:Sublime-text-2-screenshot.png
- 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.{{cite web|url=https://1stwebdesigner.com/best-wysiwyg-html-editor/#sublime|title=Interface|publisher=1stwebdesigner|access-date=13 November 2012|archive-date=24 December 2017|archive-url=https://web.archive.org/web/20171224225757/https://1stwebdesigner.com/best-wysiwyg-html-editor/#sublime|url-status=live}}
== 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. 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, hyphen or underscore delimited), and move to beginning/end of line. This allows editing complex repetitive structures without the use of macros or regular expressions.{{cite web |url=https://www.makeuseof.com/tag/sublime-text-2-crossplatform-code-editing/ |title=Features |date=15 March 2012 |publisher=makeuseof.com |access-date=13 November 2012 |archive-date=23 November 2012 |archive-url=https://web.archive.org/web/20121123024552/http://www.makeuseof.com/tag/sublime-text-2-crossplatform-code-editing/ |url-status=dead }}
== 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.{{citation needed|date=April 2015}}
== 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.{{clarify|date=January 2015}}
== 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 {{key|tab}} to paste the block of code whenever they require it.
== Other features ==
Sublime Text has a number of features in addition to these, including:{{cite web |url=https://1stwebdesigner.com/best-wysiwyg-html-editor/#sublime |title=Features |publisher=1stwebdesigner |access-date=13 November 2012 |archive-date=24 December 2017 |archive-url=https://web.archive.org/web/20171224225757/https://1stwebdesigner.com/best-wysiwyg-html-editor/#sublime |url-status=live }}
- 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
- 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=
File:A Hello World Program in PHP on Sublime Text 3.png
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.{{cite web | url=https://www.sublimetext.com/3dev | title=Sublime Text 3 Dev Builds | access-date=9 September 2013 | archive-date=19 August 2013 | archive-url=https://web.archive.org/web/20130819103047/http://www.sublimetext.com/3dev | url-status=live }} Sublime Text 3 was officially released on 13 September 2017.{{cite web|last1=Skinner|first1=Jon|title=Sublime Text 3.0|url=https://www.sublimetext.com/blog/articles/sublime-text-3-point-0|access-date=13 September 2017|archive-date=13 September 2017|archive-url=https://web.archive.org/web/20170913133110/https://www.sublimetext.com/blog/articles/sublime-text-3-point-0|url-status=live}}{{Cite web|last=Razvan|first=Serea|date=13 September 2017|title=Sublime Text 3 released for download|url=https://www.neowin.net/news/sublime-text-3-released-for-download/|access-date=2021-05-30|website=Neowin|language=en|archive-date=2 June 2021|archive-url=https://web.archive.org/web/20210602215041/https://www.neowin.net/news/sublime-text-3-released-for-download/|url-status=live}} In May 2018 it was followed by version 3.1{{citation |url=https://www.sublimetext.com/blog/articles/sublime-text-3-point-1 |publisher=Sublime HQ Pty Ltd |title=Sublime Text 3.1 Released |date=7 May 2018 |access-date=18 February 2021 |archive-date=8 June 2018 |archive-url=https://web.archive.org/web/20180608023934/https://www.sublimetext.com/blog/articles/sublime-text-3-point-1 |url-status=live }} and by version 3.2 in March 2019.{{citation |url=https://www.sublimetext.com/blog/articles/sublime-text-3-point-2 |publisher=Sublime HQ Pty Ltd |title=Sublime Text 3.2 |date=13 March 2019 |access-date=18 February 2021 |archive-date=16 March 2019 |archive-url=https://web.archive.org/web/20190316125231/https://www.sublimetext.com/blog/articles/sublime-text-3-point-2 |url-status=live }}
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.{{cite web|title=Sublime Text 3 Beta|url=https://www.sublimetext.com/blog/articles/sublime-text-3-beta|work=Sublime Blog|access-date=11 January 2014|archive-date=11 January 2014|archive-url=https://web.archive.org/web/20140111051908/http://www.sublimetext.com/blog/articles/sublime-text-3-beta|url-status=live}}
=Version 4=
Version 4 was released on 20 May 2021.{{cite web|title=Sublime Text 4|url=https://www.sublimetext.com/download|work=Sublime Changelog|access-date=20 May 2021|archive-date=5 July 2021|archive-url=https://web.archive.org/web/20210705124937/https://www.sublimetext.com/download|url-status=live}}
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{{cite web|url=https://packagecontrol.io/docs/code#License|title=License|access-date=15 July 2022|archive-date=13 October 2022|archive-url=https://web.archive.org/web/20221013114959/https://packagecontrol.io/docs/code#License|url-status=live}} 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, BitBucket and a custom JSON-encoded channel/repository system. It also handles updating packages cloned from GitHub and BitBucket via Git 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.{{cite web|url=https://sublime.wbond.net/|title=Package Control|publisher=wbond.net|access-date=9 September 2013|archive-date=3 October 2013|archive-url=https://web.archive.org/web/20131003031857/https://sublime.wbond.net/|url-status=live}}
Notable third-party packages include:
- LSP - Support for the Language Server Protocol
- Bracket Highlighter – Enhances the basic highlights Sublime Text provides for bracket pairs
- SublimeLinter – Code linting (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
Licensing
{{As of|2025}}, Sublime Text is available under personal and business licenses; personal licenses allow unlimited and perpetual use by an individual of the current version of Sublime Text as of the date that the license was purchased, as well as of any subsequent version of Sublime Text released within 3 years of the date of purchase of the license, while business licenses are sold to companies and organizations on an annual, per-seat basis.Private correspondence, {{date|2025-05-22}}.
The same licensing model applies to Sublime Merge. For personal licenses there is also a possibility to get a single bundle license for both products.
Sublime Merge
{{Infobox software
| name = Sublime Merge
| screenshot =
| logo = Breezeicons-apps-48-sublime-merge.svg
| logo size = 100px
| caption =
| collapsible =
| developer = {{#statements:developer|from=Q112301215}}
| released = {{start date and age|{{wikidata|property|Q112301215|P577}}}}
| latest release version = {{wikidata|property|preferred|references|edit|Q112301215|P348|P548=Q2804309}}
| latest release date = {{wikidata|qualifier|preferred|single|Q112301215|P348|P548=Q2804309|P577}}
| operating system = {{#statements:P306|from=Q112301215}}
| license = {{#statements:P275|from=Q112301215}}
| platform = {{#statements:P400|from=Q112301215}}
| programming language = {{#statements:P277|from=Q112301215}}
| website = {{#statements:P856|from=Q112301215}}
}}
In 2018, Sublime HQ released Sublime Merge, a Git GUI and merging tool.{{Cite web |last=Booker |first=Logan |url=https://www.lifehacker.com.au/2018/09/sublime-merge-is-a-slick-git-front-end-from-the-makers-of-sublime-text/ |title=Sublime Merge Is A Slick Git Front-End From The Makers of Sublime Text |date=22 September 2018 |publisher=Lifehacker |location=Australia |access-date=26 January 2020 |archive-date=26 January 2020 |archive-url=https://web.archive.org/web/20200126123433/https://www.lifehacker.com.au/2018/09/sublime-merge-is-a-slick-git-front-end-from-the-makers-of-sublime-text/ |url-status=live }} When installed along with Sublime Text it uses its syntax highlighting packages and they have integrations to interact with each other.{{Cite web |title=Packages – Sublime Merge Documentation |url=https://www.sublimemerge.com/docs/packages |access-date=2023-07-31 |website=www.sublimemerge.com |archive-date=31 July 2023 |archive-url=https://web.archive.org/web/20230731060337/https://www.sublimemerge.com/docs/packages |url-status=live }} Technically Sublime Merge and Text share large parts of the codebase and UI concepts.
{{Clear}}
See also
References
{{Reflist}}
External links
- {{Official website}}
{{HTML editors}}
Category:Cross-platform software