Skip to content

Incorrect single line comment highlighting in jsx #585

Description

@mjbvz

From Matt Bierner (@mattbierner) on March 17, 2018 18:59

Issue Type: Bug

For the jsx:

const a = <button 
      // disabled={false}
    />

Bug

// comments are highlighted incorrectly:

screen shot 2018-03-17 at 11 57 29 am

VS Code version: Code - Insiders 1.22.0-insider (9160e85b1ab0333dfe697032f90da494f1f81fd4, 2018-03-16T06:10:31.571Z)
OS version: Darwin x64 17.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)
Load (avg) 2, 2, 2
Memory (System) 40.00GB (11.07GB free)
Process Argv /Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron -psn_0_421991
Screen Reader no
VM 0%
Reproduces only with extensions

Copied from original issue: microsoft/vscode#46033

Activity

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