Skip to content

LSP Semantic token modifier for constructor use #45861

@mootw

Description

@mootw

CC: @DanTup

I am attempting to make my vs code theme more like android studio. However I cannot customize constructor use of classes. VS Code highlights anything that is a class whereas android studio has different colors for class used as type definition and classes that are used as constructors (initialized).

Proposal: add a modifier to class for constructor use: "class.constructor"

Here is android studio:
image

Here is VS Code:
image

Currently the interpreter is assigning any use of a class to the "class" semantic token type:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    devexp-lspIssues with analysis server's support of Language Server Protocollegacy-area-analyzerUse area-devexp instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions