Typescript: Coc or Built-in LSP?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    tsserver doesn't support LSP directly and was written before LSP. typescript-language-server is a translation layer on top of tsserver. Coc's coc-server is a port of VS Code's tsserver adapter plugin, which uses tsserver's native protocol (not LSP).

  • typescript-language-server

    TypeScript & JavaScript Language Server

    tsserver doesn't support LSP directly and was written before LSP. typescript-language-server is a translation layer on top of tsserver. Coc's coc-server is a port of VS Code's tsserver adapter plugin, which uses tsserver's native protocol (not LSP).

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • coc-tsserver

    Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript

    tsserver doesn't support LSP directly and was written before LSP. typescript-language-server is a translation layer on top of tsserver. Coc's coc-server is a port of VS Code's tsserver adapter plugin, which uses tsserver's native protocol (not LSP).

  • nvim-typescript

    Discontinued Typescript tooling for Neovim

    Theoretically, I wonder if rewriting /u/mhartington's nvim-typescript to work with null-ls would provide better integration between neovim and tsserver. Not that it's a practical option; just pondering.

  • null-ls.nvim

    Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

    Theoretically, I wonder if rewriting /u/mhartington's nvim-typescript to work with null-ls would provide better integration between neovim and tsserver. Not that it's a practical option; just pondering.

  • nvim-lsp-ts-utils

    Discontinued Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.

    I would make a feature request on https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils, as this is not likely exposed via the protocol and would need to be implemented in a plugin.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts