Skip to content

Support syntax highlighting for @phpstan-type definitions and multiline @var #3476

@Zekfad

Description

@Zekfad

Feature description or problem with existing feature
It would be nice to have syntax highlight for @phpstan-type typedefs similar to @var
Also @var disables highlighting if definition is multiline or contains space between member name and type in array{}.

Describe the solution you'd like
Add highlighting to type definitions.
Support multiline definition highlighting in variable declaration.
Color variable name in variable declaration as variable.

Additional context

Image Image

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