csharp-tmLanguage
csharp-tmLanguage copied to clipboard
Syntax grammar used for C# colorization
Original issue filed by @nblog in https://github.com/microsoft/vscode/issues/87225 ## Details What editor are you seeing the problem in? (e.g. Atom, Visual Studio Code, etc.) VS Code What version of the editor...
A tool was introduced to write Antlr grammar: https://github.com/dotnet/roslyn/tree/5cae62a/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator. The result is: https://github.com/dotnet/roslyn/blob/5cae62a/src/Compilers/CSharp/Portable/Generated/CSharp.Generated.g4. I think it would save some effort to support future versions of language, if the textmate grammar...
From @exyi in https://github.com/microsoft/vscode/issues/81856 VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:30:08.229Z) OS version: Linux x64 5.3.1-arch1-1-ARCH Steps to Reproduce: 1. Open this file: https://gist.github.com/exyi/a183e26ad81c7d6a2887961c8d0c8545 Does this issue occur when all...
## Details VS Code 1.36 Custom Theme The interpolated content in an interpolated string should use scope `meta.embedded` from the point of `punctuation.definition.interpolation.begin.cs`, which should really be `punctuation.section.embedded.begin.cs`, to take...
From https://github.com/OmniSharp/omnisharp-vscode/issues/2871 > * VSCode Version: 1.31.1 > * C# Extension: 1.17.1 > * OS Version: Debian 9 (Stretch) > > Steps to Reproduce: > > 1. Create C# Contact...
Observed in GitHub and VSCode v1.30.2. The colorization is lost after `: NotSupportedByX_ConditionUnmet();` line onwards. ```c# class A { static bool B { get; } = Condition #if X ?...
_From @CCludts on January 3, 2019 5:47_ The method name is only recognized as `source.cs` instead of `storage.type.cs` when formatting function signatures in certain cases.  ``` csharp public class...
_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...
_From @nadako on September 18, 2018 12:15_ - VSCode Version: 1.27.2 (happened long before as well) - OS Version: any Steps to Reproduce: 1. Create the `Function.cs` file with the...
## Environment data `dotnet --info` output: ``` .NET Core SDK (reflecting any global.json): Version: 2.1.401 Commit: 91b1c13032 Runtime Environment: OS Name: fedora OS Version: 28 OS Platform: Linux RID: fedora.28-x64...