Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

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

Open
@aeschli

Description

@aeschli

From @tobbi on July 4, 2017 0:4

  • VSCode Version: Version 1.14.0-insider (1.14.0-insider)
    cea00a71bef01a5ecbae39a8dd4f1bd08fd50c57
    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

Copied from original issue: microsoft/vscode#30073

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions