Stream: t-compiler/rust-analyzer

Topic: toml


pksunkara (Oct 17 2020 at 19:18, on Zulip):

Hey @matklad @std::Veetaha, I was looking around for libraries that can edit Cargo.toml and found https://github.com/matklad/tom. I have tried toml_edit but it is doing a lot of changing. What I would need is an editor that would preserve everything else except the parts we edit. Is that the direction that repo will go in?

matklad (Oct 17 2020 at 19:20, on Zulip):

Yes, the question is "when"

matklad (Oct 17 2020 at 19:20, on Zulip):

plausible answer is "when rust-analyzer is finished" :)

pksunkara (Oct 17 2020 at 19:39, on Zulip):

Oof. I would say that we already solved this for rust-analyzer, right? So, can I just copy patterns and api from RA to it and then release the editor/visitor?

pksunkara (Oct 17 2020 at 19:40, on Zulip):

I am not interested in LSP for now. Only the editor but it would be semantic

pksunkara (Oct 19 2020 at 07:32, on Zulip):

@matklad Can I go ahead?

matklad (Oct 19 2020 at 08:49, on Zulip):

Yup

matklad (Oct 19 2020 at 08:49, on Zulip):

(although I musth confess I am not sure I understand the question -- the code is MIT/Apache licensed, so you can do that without asking anybody)

Last update: Jul 29 2021 at 09:30UTC