Skip to content

LSPObject & LSPArray are private in lib.rs #428

Open

Description

These should probably be public.

lines += ["type LSPObject = serde_json::Value;"]

lines += ["type LSPArray = Vec<LSPAny>;"]

I'm sure it's known given the alpha state of the crate, but the LSPRequestMethods and LSPNotificationMethods enums are bit less useful without the various message structs/traits (Request, Notification, and even Response). If I create Request per the spec myself, for example, params? (in TS) is probably Option<OR2<LSPArray, LSPObject>> in Rust based on the current generated code.

Activity

  1. added 2 commits that reference this issue on Aug 13, 2025
    eb822cf
    cd07d8a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions