Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Start Rls with configuration #711

Closed
Closed
@alexheretic

Description

@alexheretic

To configure Rls you must start it then send a workspace/didChangeConfiguration message. Rls triggers a build on startup & whenever configuration is changed.

Normally fine, at startup however this means 2 builds have triggered. 2 bulids on startup can cause 2 builds to happen (at least when the builds were eagerly debounced) and for 2 build fail messages to be sent to the client (if, for example, the project has an invalid Cargo.toml).

Is there/can we add a more graceful way to start Rls with configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions