vscodenpa / testissues

Clone of the vscode issue stream.
43 stars 23 forks source link

Textmate doesn't understand python typehints #516

Open vscodenpa opened 2 years ago

vscodenpa commented 2 years ago

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) (https://github-com/microsoft/vscode/commit/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:57.384Z) OS version: Darwin arm64 21.5.0

vscodenpa commented 2 years ago

confidence for label semantic-tokens: 0.9. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee aeschli: 0.7. does not meet threshold

vscodenpa commented 2 years ago

confidence for label semantic-tokens: 0.9. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee aeschli: 0.7. does not meet threshold

vscodenpa commented 2 years ago

confidence for label semantic-tokens: 0.9. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee aeschli: 0.7. does not meet threshold

vscodenpa commented 2 years ago

confidence for label semantic-tokens: 0.9. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee aeschli: 0.7. does not meet threshold

vscodenpa commented 2 years ago

confidence for label semantic-tokens: 0.9. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee aeschli: 0.7. does not meet threshold