Skip to content

Implement Semantic Tokens #268

Description

@AndrewNolte

Semantic Tokens provide syntax highlighting via the lsp; syntax highlighting is currently handled client side. This can also provide info for greyed-out code in untaken ifdef branches.

A basic first implementation can map slang token kinds to the lsp token kinds, which should definitely be more accurate than the current client-side implementations.

These are even more useful when they provide actual semantic info, for example highlighting parameters differently than variables, or instance variables differently from local variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions