zed icon indicating copy to clipboard operation
zed copied to clipboard

extension api: no `label_details` field in `zed::lsp::Completion`

Open ryuukk opened this issue 1 year ago • 0 comments
trafficstars

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

I can't implement label details, if the field is missing!

how do i get the label_details from a Completion, in the extension API?

        let lbl = completion.label;
        let detail = completion.label_details.unwrap().detail;
        let description = completion.label_details.unwrap().description;
    error[E0609]: no field `label_details` on type `Completion`

https://docs.rs/zed_extension_api/0.0.6/zed_extension_api/lsp/struct.Completion.html

Environment

linux: x64 x11 xfce4 zed: 0.143.7

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

No response

ryuukk avatar Jul 14 '24 17:07 ryuukk