finds.dev← search

// the find

orta/vscode-twoslash-queries

★ 458 · TypeScript · MIT · updated Jan 2026

VS Code extension which adds support for twoslash queries into typescript projects

A VS Code extension that brings twoslash's `// ^?` type annotation syntax into your actual source files, not just documentation. It hooks into the existing TypeScript language server to show inferred types as inlay hints without any extra tooling. Primarily useful for people writing complex generic types who want to see how a type resolves mid-edit.

Reuses the TS language server directly instead of spawning a second compiler instance — no performance penalty and types stay in sync with whatever tsconfig you're already running. The `// ^?` convention is already widely recognized from the TypeScript playground and twoslash-based docs, so there's no new syntax to learn. Dead simple install with zero configuration required to get the core feature working. Also publishes to the Open VSX registry, so it works in Cursor, Codium, and other VS Code forks.

458 stars and 18 forks for a nearly four-year-old extension from a prominent TypeScript ecosystem contributor suggests it fills a narrow niche rather than a broadly felt need — most developers just hover. The README's deployment section is a raw checklist clearly written for the author, not contributors, and there's no CONTRIBUTING guide. Test coverage is minimal — one suite file exists but there's no indication it covers much beyond the extension activating. No support for `.vue`, `.svelte`, or other TS-consuming file types that aren't in the hardcoded list.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →