Stream: t-compiler/rust-analyzer

Topic: Crate import suggestions when?


Jake Goulding (Apr 13 2021 at 21:19, on Zulip):

https://deno.com/blog/v1.9#import-completions-in-the-lsp

So when is RA going to offer use | completion to every crate on crates.io? :innocent:

Andrew Chin (eminence) (Apr 13 2021 at 21:22, on Zulip):

We'd probably need to have working completion in Cargo.toml first :grinning_face_with_smiling_eyes:

Jonas Schievink [he/him] (Apr 13 2021 at 21:41, on Zulip):

I believe this is currently blocked on having a good lossless TOML parser (preferably based on rowan I suppose?)

Jake Goulding (Apr 13 2021 at 22:06, on Zulip):

I like it when my troll-ish suggestions are actually already being worked on in some fashion.

Jonas Schievink [he/him] (Apr 13 2021 at 22:14, on Zulip):

i mean, intellij has cargo.toml completion

Lukas Wirth (Apr 13 2021 at 22:37, on Zulip):

@_Jonas Schievink [he/him]|211727 said:

I believe this is currently blocked on having a good lossless TOML parser (preferably based on rowan I suppose?)

There is this https://github.com/tamasfe/taplo/tree/master/taplo which is using rowan, but I don't know if this parser fits for our purposes

Last update: Jul 28 2021 at 04:45UTC