Skip to content

Language TypeScript highlighting error edge case #950

@ntnyq

Description

@ntnyq

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.74.0
  • OS Version: macOS 13.0.1

Steps to Reproduce:

  1. Create a TS file
  2. Paste import type from './type' in it

type should be highlighted as a variable name rather than a keyword.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Effort: DifficultGood luck.limitationIssue is result of tmLanguage limitation where in the lookup does not go beyond current line

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions