Our great sponsors
-
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.
-
nvim-lsp-ts-utils
Discontinued Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
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.
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
Hi, I just found out about this https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils , I might help you.