github coteditor/CotEditor 7.0.0-beta
7.0.0

pre-release8 hours ago

system requirements: macOS 15 and later

Compatibility Changes

  • Introduce CotEditor Syntax, a new syntax definition format (the legacy YAML-based syntax definition format is now deprecated; user-created syntaxes are automatically migrated on first launch).

New Features

  • Adopt smarter syntax parsing powered by tree-sitter for multiple built-in syntaxes, improving syntax highlighting and outline extraction in C, C#, C++, CSS, Go, HTML, Java, JavaScript, Kotlin, LaTeX, Lua, Makefile, Markdown (outline extraction only), PHP, Python, Ruby, Rust, Scala, Shell Script, SQL, Swift, and TypeScript.
  • Display symbolic icons next to outline items.
  • Allow collapsing outline items in the Outline inspector for tree-sitter-based and structured document syntaxes.
  • Make smart indentation aware of the current syntax.
  • Expand comment delimiter settings in syntax definitions, allowing multiple delimiters and related options.
  • Add detailed delimiter settings for strings, characters, and indentation to syntax definitions.
  • Add the Multiline option to highlighting rules in syntax definitions so matches can span multiple lines.
  • Show the current position in search results in the Find field while navigating between matches (for example, “2/5”).
  • Add CurrentLine and ReplaceCurrentLine to the UNIX script input/output keywords for editing the current line in the editor.
  • Add Bulgarian localization (thanks to Miroslav Dragoev!).

Improvements

  • Improve the syntax-highlighting algorithm for legacy regex-based parsing.
  • Update built-in syntaxes.
  • Use the user’s window size setting for the Zoom action, if available.
  • Improve general text-editing performance.
  • Hide line numbers in the window titlebar area when the navigation bar is hidden on macOS Tahoe 26.
  • [trivial] Adjust the About CotEditor window.
  • [trivial] Rename the Recolor All command to “Reset Syntax Analysis” and move it to the Format menu.
  • [trivial] Remove the Restore Defaults button in the syntax editor.
  • [trivial] Tweak colors of the default Anura theme.

Fixes

  • Fix incorrect syntax parsing in some built-in syntaxes.
  • Fix an issue where the default file extension in the save dialog was .txt for syntaxes with a file extension not registered in the system.

Known Issues

  • The text added to CotEditor 7.0.0 are not localized yet in Czech and Polish.

Full Changelog: 6.2.6...7.0.0-beta

Don't miss a new CotEditor release

NewReleases is sending notifications on new releases.