Skip to content

Language TypeScript highlighting error edge case #950

Open

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.

Activity

  1. vscodenpa commented on Dec 14, 2022

    @vscodenpa

    Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.0. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. ntnyq commented on Dec 14, 2022

    @ntnyq
    Author

    Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.0. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

    Sorry, it's a typo.

    Updated!.

  3. removed their assignment
    on Dec 14, 2022
  4. sheetalkamat commented on Feb 9, 2023

    @sheetalkamat
    Member

    Duplicate of #891
    Given how tmlanguage grammar works and how we have things set up the effort to fix this is too much compared to how many people are running into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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