Skip to content

CodeLens and documentation symbols should also be notifications #358

Closed
@mickaelistria

Description

@mickaelistria

I'm trying to implement codelens in Eclipse IDE, and I have the impression that codelens shouldn't be a request, but a notification. Indeed, they're expected to be always shown and synchronized and apply on the whole file without a user specific action , and it's not natural from inside the IDE to re-invoke the codelens request whenever something change. It can additionally be a source of bugs because we cannot have guarantee that the last didChange message was properly saved and handled before that.
Like diagnostics, codelens and documentSymbols would probably better be notifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions