qmetrics.net

Pretty TypeScript Errors

Readable TypeScript error formatting for VS Code

IDEs & Code EditorsDesktop/CLI app
Pretty TypeScript Errors screenshot

Pretty TypeScript Errors is a Visual Studio Code extension that reformats TypeScript diagnostics into clearer, syntax-highlighted messages. It targets complex type errors that are hard to read in the default UI.

Overview

The extension improves how TypeScript errors appear inside VS Code when types grow large or heavily nested. It applies theme-aware syntax highlighting to type fragments in messages and can add navigation affordances next to types in the output.

Supported contexts include Node and Deno TypeScript reporting in .ts files, JSDoc type errors in JavaScript, framework errors in TSX and MDX, and Astro, Svelte, and Vue when TypeScript is enabled. Ember and Glimmer diagnostics from Glint in template-related files are also covered.

Install from the VS Code marketplace by searching for pretty-ts-errors or via the documented install command. Optional setup steps describe how to hide original errors or adjust copy behavior around VS Code markdown limitations.

The author notes custom TextMate grammar work and styling workarounds because error payloads include non-valid TypeScript type fragments and because VS Code restricts some markdown styling choices.

Key features

  • Syntax-highlighted types in errors
  • Light and dark theme support
  • Jump to type declarations
  • Links to external error explainers
  • Multi-framework TypeScript support
  • JSDoc error highlighting
  • Glint template error support
  • VS Code marketplace distribution

Use cases

  • Debugging complex TypeScript types
  • Reading React or Vue TS errors
  • Working with Deno TypeScript projects
  • Understanding JSDoc type failures
  • Teaching TypeScript error messages

Tags

Similar software

Visual Studio Code

Extensible editor for edit-build-debug workflows

Visual Studio Code combines a lightweight code editor with navigation, debugging, and an extension model. Builds are available for Windows, macOS, and Linux, with a browser-based option.

★ 195.8k⟳ todayMIT
IDEs & Code EditorsDesktop/CLI app
Open Source Alternative to:Windsurf

Neovim

Extensible Vim-based terminal text editor

Neovim refactors Vim for easier maintenance, stronger extensibility, and modern UIs. It keeps Vim's editing model while adding Lua config, LSP, and a language-agnostic RPC API.

★ 104k⟳ todayApache-2.0 · open core
IDEs & Code EditorsDesktop/CLI app

Zed

Multiplayer open-source code editor with optional AI

Zed is a multiplayer code editor for macOS, Linux, and Windows. It comes from the creators of Atom and Tree-sitter.

★ 95.8k⟳ todayApache-2.0
IDEs & Code EditorsDesktop/CLI app

Omarchy

Opinionated agent-friendly Linux distribution

Omarchy is a Linux distribution focused on fast setup, curated defaults, and built-in agent tooling. It ships editors, terminals, themes, plugins, and optional Windows VM support.

★ 47.7k⟳ todayMIT
TerminalsDesktop/CLI app

Helix

Modal terminal text editor built in Rust

Helix is a terminal modal editor inspired by Kakoune and Neovim. It targets fast editing over SSH, tmux, or a plain terminal without Electron or JavaScript.

★ 47.1k⟳ 8 days agoMPL-2.0
IDEs & Code EditorsDesktop/CLI app

Lapce

Native Rust code editor with GPU rendering

Lapce is a desktop code editor written in Rust with a Floem UI and wgpu rendering. It targets developers who want LSP intelligence, modal editing, and a built-in terminal in one installable app.

★ 39.1k⟳ todayApache-2.0
IDEs & Code EditorsDesktop/CLI app