Closed laralove143 closed 2 years ago
Hi Lara! Wonderful to hear from you again! Thank you for continuing to find ways to make this extension better.
I'm sorry to report that I looked into this, and it's not currently possible. 😞 It's an LSP spec version 3.16 feature which isn't implemented by Nova. Based on the configuration Nova passes to Rust Analyzer, RA doesn't even try to offer these completions. I wouldn't be able to listen for them and handle requests within this extension.
These auto-import completions are implemented similarly in other language servers, and very much something others want. I bumped the forum thread to +1 the feature request. We can only hope Panic will prioritize better LSP support.
this is the biggest reason im considering not to switch to nova, both vscode and jetbrains has this
it'd work something like
when the suggestion is selected (enter pressed), the code would now be
right now you'd have to:
use