Skip to content

Syntax highlight error in js code #298

Closed
@aeschli

Description

@aeschli

From @ihgsm on September 21, 2016 22:51

  • VSCode Version: 1.5.2
  • OS Version: Win10

Steps to Reproduce:

  1. In any existing JavaScript code type this: (n<<t ). Make sure there is a space after the t.
  2. Check the syntax highlighting of the rest of the code, all the text that supposed to be white are now in dark grey. (using Dark+ color theme)

Copied from original issue: microsoft/vscode#12413

Activity

aeschli

aeschli commented on Oct 10, 2016

@aeschli
Author

From @chrmarti on September 22, 2016 15:41

screen shot 2016-09-22 at 8 41 17 am

aeschli

aeschli commented on Oct 10, 2016

@aeschli
Author

From @staralfurbe on September 26, 2016 17:10

I've a very similar issue, i assume the root cause is the same.

In js code within a php file, "<" followed by any character will cause the same color problem for the rest of file.
image

sheetalkamat

sheetalkamat commented on Oct 10, 2016

@sheetalkamat
Member

This should be fixed in latest grammar by #257
It should be available as part of vscode extension

colors

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @aeschli@mhegazy@sheetalkamat

      Issue actions

        Syntax highlight error in js code · Issue #298 · microsoft/TypeScript-TmLanguage