supermaven-inc / supermaven-nvim

The official Neovim plugin for Supermaven
https://supermaven.com/
MIT License
278 stars 16 forks source link

Autocomplete doesn't do autoimport for me #20

Open mariesco opened 1 month ago

mariesco commented 1 month ago

I don't know if it's a configuration error, but when I autocomplete a component I don't care. From already thank you very much!

https://github.com/supermaven-inc/supermaven-nvim/assets/28025660/227a7e5e-6bc9-4d3e-a4e4-526839282a0c

AlejandroSuero commented 1 month ago

@mariesco I didn't see anywhere, not in the README nor in the official website that it autoimports.

I think that the AIs for coding still don't do that yet.

mariesco commented 1 month ago

@AlejandroSuero thanks for the answer! Im thinking if we can create one macro for that case...what you think?

WilliamWelsh commented 1 month ago

Copilot has never done that for me That would be so sick if Supermaven could !

AlejandroSuero commented 1 month ago

@WilliamWelsh that would be sick.

@mariesco one solution could be that in your config you create a keymap that goes to the not imported error diagnostic like [d and performs the code action <leader>ca.