Skip to content

Broken highlighting of jsx element inside array #624

Closed

Description

@mjbvz

From microsoft/vscode#51171

TS and JS Grammar Extension version: latest

Code

bar => (
    [
        <Baz key={`bar-${bar.id}`} />,
        <Qux />
    ]
)

screen shot 2018-06-06 at 2 45 40 pm

The opening '`' for the string is not being pick up properly

Activity

  1. bsmith-cycorp commented on Dec 17, 2018

    @bsmith-cycorp

    The same happens with just parenths:

    infobar_react_js_ _cyc-ui

    infobar_react_js_ _cyc-ui

  2. bsmith-cycorp commented on Dec 17, 2018

    @bsmith-cycorp

    For future victims of this issue, it does not exist with the "Babel JavaScript" extension

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions