Syntax highlighting, formatter, language server client and a dedicated color theme for Serez-Code — a hand-crafted interpreted language written in Rust. Supports the three file kinds of the ecosystem: .sz (code), .szx (JSX authoring for serez-ui) and .szs (CSS-with-logic styles).
Features
- Language server (desde 1.7.0) — si el binario
sz-lspestá disponible (en elPATHjunto asz, o vía el settingserez.lsp.path), los.szganan: diagnósticos en vivo (errores del parser + avisos del type checker mientras escribes), autocompletado (keywords, namespaces nativos con sus métodos —File.listaread/write/… —, funciones y variables del archivo), hover con firmas, ir a definición (F12, incluidas líneasimport) y outline de símbolos. Se construye concargo build --release --bin sz-lspen el repo del core. Desactivable conserez.lsp.enabled: false; sin el binario, la extensión sigue funcionando como siempre (resaltado + formatter). - Syntax highlighting
.sz— keywords, types, built-in namespaces (Math,JSON,File,Terminal,OS,Env,Time,DateTime,System,Random,Tensor,Autodiff,Gui,Crypto,Socket,Set,Binary,GPU,Memory), operators, strings, numbers, comments.szx— everything in.szplus JSX (tags, components, attributes,{…}embedded expressions).szs— CSS styling plus Serez extras::importblock and reactive conditionsselector (count == 0) { … }
- Serez Dark color theme — a built-in theme matching the Serez palette (deep violet + cyan on near-black). Pick it from Preferences → Color Theme → Serez Dark.
- Auto-formatter on save for the three languages (configurable via
editor.formatOnSave):.sz— brace-based indenter.szx(desde 1.9.0) — braces plus JSX tag depth: children indent under their tag, fragments<>…</>, self-closing<Tag/>and multi-line attribute lists (/>aligned with its<Tag) are all understood; comparisons (a < b) and dict annotations (<string, any>) are left alone.szs(desde 1.9.0) — block indenter aware of/* */comments; one-line rules (sel { prop: v; }) are preserved verbatim
- Keywords:
import,export,use/permissions,fn,let,const,class,interface,enum,if,while,for,switch,match,try,throw,is,unsafe,yield, … - Types:
int,decimal,dec(exact decimal),string,bool,any,void - String interpolation:
"Hola, {name}!"· raw strings:r"C:\path\no\escapes" - Numbers: integers, decimals,
decliterals (199.99m), scientific notation (1e-7), hex (0xFF), binary (0b1010), separators (1_000_000) - Operators: arithmetic, bitwise, logical,
??,?.,**,=>,... - Comments:
//and/* */ - Bracket matching and auto-close
Usage
Files with .sz, .szx or .szs are detected automatically and formatted on save.
Installation
Open VSX / Antigravity IDE
Search for Serez-Code Formatter in the Extensions marketplace, or install a .vsix manually:
antigravity-ide.cmd --install-extension serez-code-formatter-1.9.0.vsix
VS Code
code --install-extension serez-code-formatter-1.9.0.vsix