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

Syntax highlighting lost after certain comments #80

Closed
DustinCampbell opened this issue Jul 23, 2017 · 0 comments · Fixed by #287
Closed

Syntax highlighting lost after certain comments #80

DustinCampbell opened this issue Jul 23, 2017 · 0 comments · Fixed by #287
Labels

Comments

@DustinCampbell
Copy link
Member

From @cateyes99 on July 23, 2017 3:27

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.1)

Product Information:
 Version:            1.0.1
 Commit SHA-1 hash:  005db40cd1

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.11
 OS Platform: Darwin
 RID:         osx.10.11-x64
 Base Path:   /usr/local/share/dotnet/sdk/1.0.1

VS Code version: 1.14.2
C# Extension version: 1.11.0

Steps to reproduce

Create below C# snippet
image

Expected behavior

The method F2() should still have correct syntax highlighting.

Actual behavior

The method F2() doesn't have correct syntax highlighting.

I notice:
if I remove the Line 9, the the syntax highlighting is back:
image

or remove the namespance, the the syntax highlighting is also back:
image

Copied from original issue: dotnet/vscode-csharp#1659

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

Successfully merging a pull request may close this issue.

1 participant