Skip to content

[Symbol.iterator] Syntax highlighting #299

Closed
@mhegazy

Description

@mhegazy

From @TheColorRed on October 10, 2016 1:7

Version: 2.0.3

When using [Symbol.iterator](){} Syntax highlighting breaks.

Before:

iterator-1

After:

iterator-2

Copied from original issue: microsoft/TypeScript#11474

Activity

mhegazy

mhegazy commented on Oct 10, 2016

@mhegazy
ContributorAuthor

From @aluanhaddad on October 10, 2016 3:47

I am seeing this for all computed method names as well as for computed get and set accessor names within a class body.

mhegazy

mhegazy commented on Oct 10, 2016

@mhegazy
ContributorAuthor

From @basarat on October 10, 2016 5:22

Probably belongs here : https://github.com/Microsoft/TypeScript-TmLanguage 🌹

sheetalkamat

sheetalkamat commented on Oct 10, 2016

@sheetalkamat
Member

@TheColorRed this should be fixed in latest grammar as part of #257
You could try it out by installing vscode extension

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

      @mhegazy@sheetalkamat

      Issue actions

        [Symbol.iterator] Syntax highlighting · Issue #299 · microsoft/TypeScript-TmLanguage