Skip to content
mikkurogue

mikkurogue/ts-analyzer

Prettify errors from tsc type checking with very basic suggestions

TypeScript error parser for more readable and actionable errors at a glance. A robust static analysis tool

5 0RustPush 1mo agoListed 12d ago2 open issuesother
nvim-pluginpretty-errorsruststatic-analysistypescript
  • Rust83.5%
  • Lua16.2%
  • Shell0.3%
  • RenderScript0.0%
View on GitHub

Report a problem

1 Review

TS Analyzer is a promising, focused tool with a clear developer pain point: making TypeScript errors more readable and actionable. I like the dual shape of the project: a Rust CLI for tsc output and an LSP-oriented mode that the Neovim Lua plugin can use without re-running the typechecker. The implementation is compact but substantial, with ariadne reports, token-aware spans, and a broad set of TypeScript error-code suggestions.

The repo also has good early hygiene: Cargo lockfile, rustfmt config, CI for build/tests, Dependabot, contributing notes, and practical Neovim setup docs. The auto-build behavior for the plugin is a nice usability touch.

Main critiques: installation is still a bit manual, there are no releases yet, and the README acknowledges missing Lazy.nvim/Packer docs. Some parsing is necessarily string-pattern based, so more fixtures/tests around real tsc output would strengthen confidence. I couldn’t run tests locally because cargo is not installed here, but the structure looks thoughtful and useful.

mikkurogue
@mikkurogue9d ago

Correct, im still in the process of migrating to TSGO too for it as apparently TShas some updated error codes consolidating a few of the "repeated" errors so the project is still in very much "in progress", albeit time is finite so I need to really block out some time to put a few finishing touches on it. And of course, provide releases and a "binary download" channel for those who dont want to have their machines take off to Mars when compiling