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

Syntax highlighting for C++ classes fails if base classes are declared on next line #274

Closed
aeschli opened this issue May 2, 2018 · 2 comments

Comments

@aeschli
Copy link
Contributor

aeschli commented May 2, 2018

From @elpixo on April 26, 2018 13:3

Syntax highlighting for C++ classes fails if base classes are declared on next line.

// This is highlighted correctly
class SomeClass : public BaseClass 
{
};

// This has no syntax highlight for public BaseClass
class SomeClass 
   : public BaseClass
{
};

Copied from original issue: microsoft/vscode#48756

@Arcanemagus
Copy link

This is potentially fixed by #252, as it is marked as fixing several issues related to this.

@maxbrunsfeld
Copy link
Contributor

This is fixed if you use the new Tree-sitter parsing system, which is enabled by default in Atom 1.32 Beta. If you're not the beta channel, you can enable it by checking the Use Tree-sitter Parsers box in the settings view, or wait for Atom 1.32 Stable to be released. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants