What LSP are you using for ReactJS projects and does it have auto imports?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • vim-js-file-import

    Import/require files in javascript and typescript with single button!

  • Does this Auto Import exists at all? I'm currently using a plugin called kristijanhusak/vim-js-file-import, which uses ctags to auto import React Components. But when it comes to React Hooks, like import React, {useState} from "react" I'll have to manually type those in.

  • dotfiles

    My dotfiles (by cmdcolin)

  • generally for autoimports I have to hit tab and it brings up an auto-complete popup menu next to the cursor, and then it will auto-import the thing I selected from the auto-complete. I don't have any special code that does this in my config afaik so it might be something lsp helps with https://github.com/cmdcolin/dotfiles/blob/master/.vimrc

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nvim-lsp-ts-utils

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

  • Hi, I just found out about this https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils , I might help you.

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