Skip to content

language_server: Report version in InitializeResult #10799

@nrayburn-tech

Description

@nrayburn-tech

Currently, None is always supplied. This should instead report the actual language server version. The IntelliJ plugin will take advantage of this by reporting the version to the user in the UI.

server_info: Some(ServerInfo { name: "oxc".into(), version: None }),

I tried updating to the below, but it didn't seem to work. I could have just been doing something wrong though.

server_info: Some(ServerInfo { name: "oxc".into(), version: Some(env!("CARGO_PKG_VERSION").to_string()) }),

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-editorArea - Editor and Language Server

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions