Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

[C#] syntax coloring breaks down with interpolated strings #43

Closed
aeschli opened this issue Dec 2, 2015 · 5 comments · Fixed by #82
Closed

[C#] syntax coloring breaks down with interpolated strings #43

aeschli opened this issue Dec 2, 2015 · 5 comments · Fixed by #82
Labels

Comments

@aeschli
Copy link

aeschli commented Dec 2, 2015

From @jumpinjackie on December 2, 2015 6:40

Using VSCode 0.10.3

The C# syntax coloring breaks down when interpolated strings are involved.

Example code

    namespace Test
    {
        public class Foo
        {
            static string AddTableName(string suffix) => $"Bar{suffix}_ADD";

            static string ModTableName(string suffix) => $"Bar{suffix}_MOD";

            static string DelTableName(string suffix) => $"Bar{suffix}_DEL";
        } 
    }

VSCode screenshot

capture

Copied from original issue: microsoft/vscode#900

@aeschli
Copy link
Author

aeschli commented Dec 2, 2015

Same problem in Atom (language-csharp v0.11.0):
image

@50Wliu
Copy link
Contributor

50Wliu commented Jan 9, 2016

I plan on looking at these in the coming weeks, provided my schedule works out. Sorry for the delay.

@ghost
Copy link

ghost commented Mar 6, 2016

@jaredpar
Copy link

jaredpar commented Mar 9, 2016

CC @DustinCampbell

@DustinCampbell
Copy link

FWIW, these should probably be moved over to https://github.com/OmniSharp/omnisharp-vscode and https://github.com/OmniSharp/omnisharp-roslyn

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
4 participants