Synta 1.2.0 – source code viewer with syntax highlighting (Lister plugin) for Total Commander, 32 and 64 bit

Synta shows source code in Total Commander's Lister (F3) with syntax highlighting, line numbers and an optional minimap. A switch shows minified or messy code formatted – the file itself is never changed. Languages and color schemes are plain text files that anyone can extend. Native, no runtime, nothing to install besides the plugin.

Languages
C, C++, C#, Java, JavaScript, TypeScript, Python, PowerShell, Batch, Shell, SQL, Go, Rust, PHP, HTML (with embedded CSS and JavaScript), Astro, XML, CSS, SCSS/Less, JSON, YAML, TOML, INI, Registry files, Markdown, Diff, Lua, Pascal/Delphi, Visual Basic, Ruby, Kotlin, Swift, AutoHotkey, AutoIt, Makefile, Dockerfile, CMake, EDIFACT, CSV/TSV (every column in its own color) and Synta's own definition files. Files without an extension are recognized by their name (Makefile, Dockerfile) or by a #! line.

Features
- Show formatted (Ctrl+B, switch at the top right): JSON, XML, HTML, CSS, SQL and C-like languages pretty-printed; only white space changes.
- Word wrap, minimap, line numbers, indent guides, highlighted current line.
- Language picker at the top left, in case a file was recognized wrongly.
- Select with the mouse (double-click: word, click on a line number: line), copy with Ctrl+C, select all with Ctrl+A.
- Search with Total Commander's Find (F7 / F3), go to line (Ctrl+G).
- Zoom with Ctrl+mouse wheel; selectable font and tab width.
- Text cursor (context menu): the arrow keys move it, Shift selects, Ctrl+arrows jump by word; top bar can be hidden (context menu or TopBar=0 in Synta.ini).
- Light and dark design (automatic like Windows, fixed, or like Total Commander) in the Windows 11 look; color schemes Ayu (Light, Dark, Mirage, Mirage Light), GitHub, Solarized, One, Catppuccin, Gruvbox, Tokyo Night, Rosé Pine and Visual Studio (each in a light and a dark variant).
- Text encodings: UTF-8, UTF-16 (with or without BOM) and legacy code pages (Windows 125x, CP866, CP850, KOI8, Shift-JIS, GBK, Big5, ...), detected automatically and switchable in the context menu (Encoding); files up to 512 MB.
- User interface in English and German (follows the Windows language).

Own languages and color schemes
- Languages\*.lang: one file per language (keywords, comments, strings, ...). Languages\_template.lang explains every key.
- Themes\*.theme: one file per color scheme; colors as #RRGGBB or #RRGGBBAA, optionally bold / italic.
- Context menu → Open "Languages" folder / Open "Themes" folder. New or changed files are used for the next file Lister opens; errors are shown in the status bar.
- To change a built-in language, copy its file and set Priority=1 in the copy – an update replaces the built-in files, not your copy.

Installation
Open Synta.zip in Total Commander and confirm the installation. Settings are stored in Synta.ini next to the plugin.
JSON and XML are also shown by TreeView (as tree and grid). If both plugins are installed, the one listed first in Configuration → Plugins → Lister plugins opens these files.

Requirements
Total Commander 32 or 64 bit, Windows 10 or 11.

Developer: Ali Naderi – https://digitalent.dev
Freeware: free to use and to pass on unmodified; selling is not allowed.
Color palettes: Ayu by dempfi, GitHub Primer, Solarized by Ethan Schoonover, One (Atom), Catppuccin, Gruvbox by Pavel Pertsev, Tokyo Night by enkia, Rosé Pine, Visual Studio Code (all MIT license).
