I'm up and running with vim and fireplace, but the thing I miss most about my old IDE is it can guess what import statements I need. is there any plugin that can help with this for clojure require
s?
@tim.j.robinson, I am not sure what feature you had in the old IDE, but https://github.com/neoclide/coc-tabnine does guess for you. To use it, https://github.com/neoclide/coc.nvim plugin is required.
@tim.j.robinson Is this the feature you have in mind? https://github.com/clojure-emacs/clj-refactor.el/wiki#magic-requires
It looks like https://github.com/clojure-vim/clj-refactor.nvim has support for it.
Thanks I'll have a look at both of those
In Visual Studio or VS Code with C# or JavaScript if I type the name of a class, a menu appears offering to automatically reference the namespace for that class (the equivalent of a require+refer), or I can paste in a block, it will offer to include all namespaces. I think clj-refactor.nvim is the closest but I'm not currently using nvim, so it'll have to wait until I'm in "fiddle with my toolset" mode rather than the "get on with coding" mode.
For what it's worth, I found switching from Vim to Neovim 100% painless.
My recent realisation is that while (Neo)Vim can be Development Environment, itโs missing the Integrated bit - it does require a lot of configuration and fiddling
I totally agree. You can transform (Neo)Vim into an IDE by installing and configuring plugins that provide the specific functionality you want, but it doesn't come that way out of the box.
@ssjoleary746 that looks like a vim node bug https://github.com/clojure-vim/clj-refactor.nvim/issues/16
Thanks @noisesmith :thumbsup:
I'm not sure, off-hand. I used clj-refactor just briefly, years ago.
Ah, looks like you got help below :)
Thanks @dave. Yeah, got a good pointer to a github issue so I'm trying to figure out where the node-host directory is and seeing if I can change it's version