Skip to content

C++ syntax highlighting: Multiple parent classes are not syntax-highlighted if there is a line break in between #30073

@tobbi

Description

@tobbi
  • VSCode Version: Version 1.14.0-insider (1.14.0-insider)
    cea00a7
    2017-07-03T11:01:02.438Z

  • OS Version: Mac OS X 10.12.5

Steps to Reproduce:

  1. Write the following syntactically correct C++ code:
class SomeClass: public MyClass1,
                 public MyClass2,
                 public MyClass3
{
// Other members and methods and all that stuff.
}
  1. See how public MyClass1 is syntax-highlighted correctly. However, public MyClass1 and public MyClass2 are not getting highlighted at all.

This changes when I put all of the parent classes in one line.

Reproduces without extensions: Yes

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions