← All products
Cortex Code logo

macOS · SwiftUI app

Cortex Code

A beautiful, lightweight code editor for macOS.

Cortex Code is a fast, minimal code editor built in Swift for macOS — the newest member of the Cortex family. It pairs tree-sitter-powered syntax highlighting with familiar workspace chrome (activity bar, file explorer, command palette, quick open) and the signature Aurora animated background with Liquid Glass UI shared across the Cortex line.

$ swift run CortexCode

What it does

Tree-sitter highlighting

Grammar-accurate, structural code coloring — Swift and JSON via tree-sitter, with fallbacks for many more.

Familiar workspace

Activity bar, lazy file explorer, editor tabs, command palette (⌘K), quick open (⌘P), and find in file.

Aurora + Liquid Glass

The same breathing gradient background and glass UI as the rest of the Cortex family, for visual depth.

Pure Swift, no bloat

A native NSTextView editor built as a Swift package — no Electron, no Xcode project required.

Specs

Platform
macOS 26+
Engine
Swift 6.2 · tree-sitter · NSTextView
Languages
Swift, JSON, JS/TS, Python, Go, Rust & more
Distribution
Swift Package Manager executable