Download

Sublime Text 4 is the current version of Sublime Text. For bleeding-edge releases, see the dev builds.

Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.

Changelog

Build 4200

21 May 2025

We're planning on making some changes to the supported plugin Python versions.
See the Blog post for more details.

New Features and Improvements

  • Sidebar can now be moved to the right side using the "sidebar_on_right" setting
  • Build systems can now optionally have an input box by using "interactive": true
  • Added "disable_plugin_host_3.3" setting. This causes all plugins to run under 3.8
  • Rewritten syntax highlighting for SQL, ActionScript, Diff, Bash and Graphviz thanks to jrappen, michaelblyons, keith-hall and deathaxe
  • Added Zsh and TOML syntax highlighting thanks to deathaxe
  • Various syntax highlighting improvements
  • Improved git status performance
  • Significantly improved performance when editing with many selections
  • Commands passed via the command line are now delayed until files and plugins have loaded
  • Built-in color schemes now specially highlight string mapping keys
  • Improved behavior of copy/cut with multiple empty selections
  • Tab translation is now disabled when reading from stdin
  • Improved handling of saving files in non-existent directories
  • Added "default_font_size" setting
  • Added "reload_file_in_background" setting
  • Added "set_unsaved_view_name_for_syntax" setting
  • Allow variable expansion in a syntax's first_line_match regex
  • API: Added Window.create_io_panel and Window.find_io_panel
  • API: Added Selection.has_empty_region, Selection.has_non_empty_region and Selection.has_multiple_non_empty_regions

Fixes

  • Fixed wrap_lines command not understanding newer ruler settings
  • Fixed bookmarks not toggling at EOF
  • Fixed an issue with click event handling on the scroll bar
  • Fixed build system errors not having the correct PATH
  • Fixed index crawler leaking shared memory in special cases
  • Fixed local transformed symbols having the wrong region
  • Fixed find_under_expand edge case
  • Fixed uneven indent guide rendering with fractional dpi scaling
  • Fixed certain minimap settings incorrectly affecting text rendering

Build 4192

20 Jan 2025
  • Fixed tab not working when tab completion is disabled and there is no matching snippet
  • Fixed find field not expanding with multi-line search queries
  • Fixed a scroll position tracking issue
  • Windows: Fixed an issue with timer accuracy

Build 4189

20 Dec 2024
  • Fixed a performance regression when editing large files
  • Fixed laggy window resizing regression when text wrap is turned off
  • Fixed incorrect scroll extents when using fractional scaling
  • Fixed symbol icons missing in some cases
  • Fixed find_under_expand_skip clearing the selection when there's only one occurrence

Build 4186

17 Dec 2024
  • Various syntax highlighting improvements
  • Fixed file change detection not working for cloned views after the original is closed
  • Fixed prompting to reload right after reloading
  • Fixed find-in-files results not always being sorted
  • Significantly improved cache compression performance
  • Improved performance of custom regex engine used for syntax highlighting
  • Reduced syntax engine memory usage under certain conditions
  • Improved git repository scanning performance
  • Improved rendering performance by making theming faster
  • Added unselect_current command for tab multi-selection
  • Fixed tab order getting reversed when a group is closed
  • Fixed regression in Goto Definition where symbols in the current file weren't prioritized
  • Fixed caret location swapping sides when indenting
  • Fixed symbol icons missing in some cases
  • Fixed find_under_expand_skip clearing the selection when there's only one occurrence
  • Syntax test error messages have been reworked
  • Syntax tests can now test for symbol transformations
  • Fixed syntax engine getting confused with multiple overlapping branches
  • Fixed transformed symbols having an incorrect region
  • minihtml can now load images from the internet
  • API: Fixed on_post_move not being triggered when air-dropping
  • API: CompletionList.set_completions is now thread safe
  • API: Improved performance when handling many completions
  • API: View.find_all now supports limiting search to a specified region(s)
  • API: Fixed null characters truncating log messages
  • Windows: Fixed crash caused by various Anti-Virus programs calling CreateRemoteThread
  • Mac: Fixed find clipboard not updating under certain conditions
  • Mac: Fixed click-through not working

Build 4180

6 Aug 2024
  • Various syntax highlighting improvements
  • Newly rewritten Lisp syntax highlighting thanks to deathaxe
  • Linux: Implemented kinetic scrolling under Wayland
  • Linux: Implemented xdg-activation protocol for wayland
  • Linux: Fixed crash on wayland related to tab dragging
  • Linux: Fixed issues with tab dragging under Wayland
  • Linux: Added workaround for KDE drag-drop issue causing the caret to get stuck (Also fixed in kwin 6.0.4)
  • Windows: Implemented scroll-resetting behavior when dragging scroll bar
  • Windows: Fixed copied text being truncated by null character
  • Windows: Fixed custom top-level menu items not being themed
  • Windows, Linux: Allow numbers as menu mnemonics
  • Mac: Files moved to trash now have a "Put Back" option
  • Mac: Fixed issues related to dragging the edges of windows
  • Mac: Fixed security entitlements for plugins not applying properly
  • Mac: Fixed some issues with applying find clipboard
  • Mac: Fixed multi-line environment variables not being read correctly
  • Mac, Linux: Fixed leak of shared memory
  • Added "goto_anything_file_preview" setting
  • Added "image_file_patterns" for controlling which files are automatically opened as an image
  • Added File > Open file as Text/Image for explicitly opening a file as an image or as text
  • Added context menu for image tabs
  • Improved behavior of Expand Selection in Python docstrings
  • The "menu" key now works in the sidebar
  • Reduced memory usage when editing large files
  • Full Screen is now restored when exiting Distraction Free Mode
  • Text selection is now retained when using Split View
  • Improved handling of invalid UTF-16 sequences
  • Fixed overlay scrollbars blocking input when invisible
  • Improved accuracy of scope selectors
  • Added enable toggle to indexing status dialog
  • Opening folder history in Sublime Merge now works recursively
  • Added entry in command palette for opening mouse bindings
  • Added syntax argument to run_syntax_tests command
  • Fixed syntax tests not running when files aren't UTF-8 encoded
  • Files containing colons can now be opened from the command line
  • Fixed window closing when switching projects under certain conditions
  • Fixed focus of new windows starting on the last group when "remember_layout" is enabled
  • Fixed line numbers not being rendered correctly in some cases
  • Fixed an issue with rulers displaying incorrectly while scrolling under OpenGL
  • Fixed fold markers not having background rendering
  • Fixed PATH not being restored correctly when a build system fails to launch
  • Fixed git repository details not always showing
  • Find: Find in files history menu now deduplicates entries
  • Find: Fixed settings not applying to find-in-files
  • Find: Fixed a case where incorrect settings would be used when run immediately after find_under_expand
  • Tab Dragging: Improved clarity in mixed-dpi setups
  • Tab Dragging: Fixed various positioning bugs in mixed-dpi setups
  • Tab Dragging: Fixed misalignment of labels in some cases
  • minihtml: Improved error messages
  • minihtml: Added support for white-space: pre and white-space: pre-wrap
  • minihtml: <style> tags are now allowed within <head>
  • minihtml: HTML is no longer parsed within <style> tags
  • minihtml: Made HTML entity parsing more lenient
  • Theme: New unmodified files no longer have the "dirty" attribute
  • API: All functions are now available at import time
  • API: Optimized auto-completion
  • API: Fixed ViewEventListener occasionally leaking
  • API: Fixed Settings.get not always returning the default value on failure
  • API: Fixed View.style_for_scope not always returning the right "source_line"
  • API: Added View.utf8_code_units and View.utf16_code_units

Build 4169

24 November 2023
  • Fixed a stack overflow when closing large amounts of files
  • API: Fixed backwards compatibility breakage with Sheet.is_transient()
  • API: Fixed a crash with Window.set_view_index
  • Linux: Fixed a rare crash with the save dialog
  • Windows: Fixed a rare crash related to cursor hiding

Build 4166

20 November 2023
  • Various syntax highlighting improvements
  • Index collation is now done incrementally
  • Fixed an issue where animations were causing excessive redraws
  • Find in files now truncates long lines according to the "find_in_files_context_characters" setting
  • Fixed auto-complete not suggesting tokens from the current line
  • Added Mouse Bindings to the Preferences menu
  • Added Preferences > Font > Choose… for an easy way to select a font
  • Added Copy Path to Sidebar context menu
  • Fixed minimap border not rendering
  • Fixed color emoji blending with transparency
  • Fixed line-number alignment when using a variable-width font
  • Fixed double clicking a find in file result sometimes scrolling to the wrong line in the file
  • Fixed case where opening a file from Sublime Merge wouldn't jump to the right line
  • Improved bookmark toggling
  • Improved performance of "Definitions" popup
  • Improved Join Lines behavior
  • Improved behavior of Indent command on empty lines
  • Added "ruler_width" setting
  • Added current_result command
  • Fixed case conversions not taking all-caps into account
  • Fixed an auto-indent issue
  • Fixed an issue with find_under_expand when the find panel is focused
  • Fixed disabling "highlight_gutter" resulting in "highlight_line" begin disabled
  • Fixed some incorrect behavior when converting a multi-line selection to Title Case
  • Fixed a memory corruption bug related to block carets
  • Fixed Quick Switch Project… from the settings window closing the window
  • Fixed "move_to_limit_on_up_down" setting not working
  • Shift+Enter now also hides the incremental find panel
  • Fixed macro recording in Vintage package not working
  • Updated to OpenSSL 1.1.1v
  • Fixed run_syntax_tests command not running symbol tests
  • API: Added sublime.choose_font_dialog
  • API: Allow case insensitive comments using TM_COMMENT_CASE_INSENSITIVE
  • API: Fixed instability related to overlapping API calls
  • API: Fixed crash when an edit token is passed to the wrong view
  • API: Fixed some issues related to plugin initialization
  • API: ListInputHandler now supports initial_selection
  • API: Fixed ListInputHandler not selecting the first result when initial_text is provided
  • API: Added update_text option to sublime.encode_value
  • API: Fixed expand_to_paragraph in paragraph.py incorrectly unpacking tuple
  • Linux: Improved tracking of fullscreen state
  • Linux: Fixed some memory leaks related to fonts
  • Linux: Fixed "ui_scale" setting not being applied to fonts correctly in some cases
  • Windows: Added CRLF handling for text drag an drop
  • Windows: Fixed wrong font extents causing glyphs to be cut off at the top
  • Windows: Fixed caret movement across phantoms when using fractional scaling
  • Mac: Improved animation frame timing
  • Mac: Implemented window cascading
  • Mac: Recent files are now cleared when "update_system_recent_files" is disabled
  • Mac: Fixed Copy as HTML not working
  • Mac: Fixed subl not always finding the correct application bundle
  • Mac: Fixed "regex_auto_escape" not working

Build 4152

2 August 2023
  • Mac: Fixed compatibility with macOS 10.14 and earlier

Build 4151

2 August 2023
  • Various syntax highlighting improvements
  • Added "fold_style" setting for controlling syntax-based code folding
  • Last tab in a group can now be selected with alt+9 (Windows/Linux) and cmd+9 (Mac)
  • Split View retains the original view's viewport position
  • Added WebP support
  • Improved minimap viewport contrast with large amounts of visible text
  • The window title now indicates whether Sublime Text is running with administrator privileges
  • Improved indentation detection for files with many single space indents
  • Improved caret positioning when using text wrapping
  • Fixed files in side-bar not properly reflecting their git status
  • Find in Files: Tab multi-select modifier keys are now supported
  • Find in Files: Fixed search results not being ordered
  • Find in Files: Paths can now be quoted
  • Find in Files: Added "find_in_files_suppress_errors" settings
  • Find in Files: Added "find_in_files_context_lines" settings
  • Find in Files: Added "find_in_files_side_by_side" setting
  • Find in Files: Ongoing searches are no longer canceled on renamed buffer
  • Find in Files: Fixed ./ not working in the "Where" field
  • Find: Added "regex_auto_escape" setting
  • Find: Fixed find settings confusion when run immediately after find_under_expand
  • Find: Fixed find in selection skipping empty selections
  • Fixed word wrap being too early in some cases
  • Fixed scrolling by page not always including a full line of context
  • Fixed first character beyond ASCII range not being decoded/encoded for short code pages
  • Improved performance when drag selecting columns
  • Fixed annotations displaying incorrectly when "ui_scale" is set to something other than 1
  • Fixed recent file list not being updated when quitting with hot exit disabled
  • Fixed high memory usage edge case in minihtml parsing
  • Fixed case where open file/folder dialogs didn't respect "default_dir" setting
  • Reopen Closed File now uses the window's file history by default rather than global history
  • Fixed tabs of deleted files incorrectly showing as modified in some cases
  • Fixed "draw_centered" setting causing incorrect gutter rendering in some cases
  • Fixed extra commands being included for macros in some situations
  • Fixed goto-symbol not showing inside empty groups
  • Fixed column number in the status bar not updating upon changing tab width
  • Fixed issue where the command palette could consume key presses while not having input focus
  • Syntax Highlighting: Improved scope selector performance
  • Syntax Highlighting: Fixed syntax-based folding not working correctly with some indented code
  • Syntax Highlighting: Fixed syntax definition negative symbol tests
  • Syntax Highlighting: Fixed edge case that could break syntax highlighting
  • Syntax Highlighting: Fixed backtracking bug where tokens were being dropped
  • Syntax Highlighting: Fixed some hangs caused by syntax backtracking
  • Syntax Highlighting: Fixed a syntax highlighting performance issue due to backtracking
  • Syntax Highlighting: Fixed a crash when a lazy loaded syntax doesn't exist
  • API: Updated to Python 3.8.12 and OpenSSL 1.1.1s
  • API: The Python 3.3 plugin environment now uses the same OpenSSL as 3.8
  • API: Added support for the "context" key in mousemaps
  • API: Fixed inconsistent focus after Window.open_file()
  • API: The open_file command now supports "transient", "force_group", "clear_to_right" and "force_clone" arguments
  • API: Added Window.num_views_in_group()
  • API: Added sublime.project_history()
  • API: Added sublime.folder_history()
  • Windows: Added alt+shift+p as default keybinding for Quick Switch Project
  • Windows: Fixed a packaging error with the installers
  • Windows: Fixed tooltips sometimes not being removed
  • Windows: Fixed select folder dialog not respecting the initial directory
  • Windows: Fixed lockup that could occur when menus and popups interfere
  • Linux: Files for printing are saved in ~/Downloads if possible to work around snap/flatpak limitations
  • Linux: User config and cache paths are now created at startup if not present
  • Linux: Fixed incorrect mouse behavior at window edges
  • Linux, Mac: Attempt to find the license key for the user when using sudo
  • Mac: Better support for running as root
  • Mac: Fixed extra window being created when ST is launched by opening a file from finder
  • Mac: System setting "click in the scroll bar to" is now respected
  • Mac: Added workaround for Monterey bug causing scrolling to misbehave
  • Mac: Added security entitlements allowing plugins & build systems to request the camera and microphone