Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# classes not properly highlighted #1365

Closed
PulsarFX opened this issue Mar 23, 2018 · 3 comments
Closed

C# classes not properly highlighted #1365

PulsarFX opened this issue Mar 23, 2018 · 3 comments

Comments

@PulsarFX
Copy link

Class names in parameters and base classes are not hightlighted, nor tokenized for C#
grafik

"SomeClass" and "BaseClass" should be colored, too. In Html output I see, that they are not put into spans.

The example code

interface ILogger {
    void Init(SomeClass file); 
	void LogInfo(string message);
}
public class SomeClass : BaseClass {}
@Golmote
Copy link
Contributor

Golmote commented Mar 23, 2018

Hi! Thanks for reporting.

We currently match class names based on the preceding keyword (class, interface, etc.).
Are class names mandatorily capitalized in C#? Would this be a viable enough way to match them?

@PulsarFX
Copy link
Author

PulsarFX commented Mar 23, 2018 via email

@Golmote
Copy link
Contributor

Golmote commented Mar 24, 2018

Should be fixed now!

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

No branches or pull requests

2 participants