Settings

Theme

Tsc.nvim: Project-Wide Async TypeScript Type-Checking for Neovim

2 points by dmmulroy 3 years ago · 1 comment · 1 min read


Hey y’all,

I’m excited to share my new (and first) Neovim plugin: tsc.nvim!

This plugin brings asynchronous project-wide TypeScript type-checking to Neovim, providing a seamless type-checking experience for TypeScript developers. No longer do you have to wait for the build in a separate terminal to know about type errors in your code beyond your current buffer(s).

Here are some key features of tsc.nvim:

Asynchronous type-checking: tsc.nvim runs tsc asynchronously, allowing you to edit your code while the plugin checks for errors in the background. Quickfix list integration: Errors are displayed in the quickfix list, simplifying navigation through issues in your code. User-friendly notifications: Get clear, informative messages about the type-checking status and results. Easy setup: Quickly set up and configure tsc.nvim to suit your workflow To get started, simply install the plugin using your favorite plugin manager, such as vim-plug or packer.nvim. You can find detailed installation instructions in the README.

For an enhanced UI/UX experience, it is recommended to install the nvim-notify plugin as well. This is an optional dependency, and tsc.nvim will work without it.

I’d love to hear your feedback and suggestions! Please feel free to open issues or submit pull requests on the GitHub repository.

rektide 3 years ago

Link: https://github.com/dmmulroy/tsc.nvim

Neat effort. Honestly pretty new to neovim, having finally decided to tool up a couple months ago (the Astrovim 3.0 looked extremely modular & welcoming & has been great). I would have thought Typescript LSP integrations would have similar async integrations but I haven't tried it out yet. I'm interested to compare now.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection