Skip to content

Textmate doesn't understand python typehints #150203

Closed
@Bobronium

Description

@Bobronium

Though semantic token highlighting is able to pick up some elements from quoted type annotations, overall string is not marked as a typeHint:
image
image

Ideally, it would be nice to have the same scopes for quoted typehints as a regular ones, but with a proper "typeHint" modifier:
image

VS Code version: Code 1.67.2 (Universal) (c3511e6, 2022-05-17T18:20:57.384Z)
OS version: Darwin arm64 21.5.0

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions