csharp-tmLanguage
csharp-tmLanguage copied to clipboard
C# Code coloring glitches after method that returns Task of tuple
From @ahmadalli on December 23, 2017 13:25
- VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:35:14.671Z)
- OS Version: Darwin x64 17.3.0
- Extensions:
Extension | Author (truncated) | Version |
---|---|---|
swagger-viewer | Arj | 1.5.0 |
csharp | ms- | 1.13.1 |
Steps to Reproduce:
- Have a c# code with a method that returns task of a tuple.
- this happens (take a look at the coloring of lines 73 to 98):
Reproduces without extensions: Yes (the image above is taken with --disable-extensions
flag)
Copied from original issue: Microsoft/vscode#40754
From @weinand on December 23, 2017 14:0
Please file C# issues against the C# extension.
From @ahmadalli on December 23, 2017 14:2
I disabled the c# extension. this is just code coloring.
I don't think this is a problem with Task of Tuple but rather a grammar-wide issue with splitting certain constructs across multiple lines as covered in #62 and #63