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

Comments after preprocessor instructions are not syntax highlighted correctly #759

Closed
damieng opened this issue Sep 16, 2016 · 1 comment

Comments

@damieng
Copy link

damieng commented Sep 16, 2016

Environment data

VS Code version: 1.0.0-preview2-003131
C# Extension version: fbbf5a1

Steps to reproduce

#if DEBUG // Should be a comment

Expected behavior

image

The comment should be syntax highlighted as a comment.

Actual behavior

image

The comment is syntax highlighted as part of the preprocessor value.

@DustinCampbell
Copy link
Member

Thanks for the report!

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

No branches or pull requests

2 participants