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 sometimes breaks when using Expression-bodied members (=> methods) #403

Closed
eamodio opened this issue Jun 5, 2016 · 0 comments

Comments

@eamodio
Copy link
Contributor

eamodio commented Jun 5, 2016

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview1-002702)

Product Information:
 Version:     1.0.0-preview1-002702
 Commit Sha:  6cde21225e

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.11
 OS Platform: Darwin
 RID:         osx.10.11-x64

VS Code version:

Version 1.2.0-insider (1.2.0-insider)
7ccb21d7e7256a7d42f3dda8b2d3721b8e59724f

C# Extension version:

1.1.2 (pulled from https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.1.2)

Steps to reproduce

For some reason this doesn't happen for all EBMs but I've been using a lot of them lately and they seem to break the highlighting often.

Also any // comments in between the => and rest always breaks the highlighting.

I also tried this on Windows and the syntax highlighting breaks there as well -- though in some cases slightly differently given the same file.

Please let me know if there is any other information I can provide. I experienced the same issue with the "released" version of the C# extension and tried the preview one to see if it helped any (it didn't)

Expected behavior

Correct syntax highlighting

Actual behavior

Sometimes no highlighting, sometimes stuck highlighting in a certain color

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