Skip to content

Distributed actors (and actors) should be distinct semantic tokens #2709

Description

@ktoso

Description

  distributed actor Worker {
    distributed var num: Int { 2 }
    distributed func ping() {}
  }

textDocument/semanticTokens/full returns:

  • Worker: (class, [declaration])
  • num: (property, [declaration])
  • ping: (method, [declaration])

Nothing indicates any of these are distributed.

For what it's worth, even actor should be getting a distinct semantic token I think, because we may want to highlight actors differently; they're not just classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions