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

String interpolation confounds text coloring #588

Closed
jrieken opened this issue Jun 20, 2016 · 4 comments
Closed

String interpolation confounds text coloring #588

jrieken opened this issue Jun 20, 2016 · 4 comments

Comments

@jrieken
Copy link
Contributor

jrieken commented Jun 20, 2016

From @BRS999 on June 18, 2016 12:39

  • VSCode Version: 1.2.1
  • OS Version: OSX 10.11.5

Background: I was playing around with some new C# features when I noticed the text coloration became wonky in VSCode.

Steps to Reproduce:

  1. Add this line of code to a blank cs file public void Print() => WriteLine($"Your name is {FirstName} and {LastName}");
  2. Add this line of code after it public void sqrt() => WriteLine(Sqrt(3 * 3 + 4 + 4));
  3. Observe the wonky text coloring.

See screenshot
screen shot 2016-06-18 at 8 37 53 am

Copied from original issue: microsoft/vscode#7849

@david-driscoll
Copy link
Member

@jrieken this should probably goto the omnisharp-vscode repo, as it appears to be an issue with the textmate grammer. (colorization in vscode doesn't use roslyn today)

@willl
Copy link
Member

willl commented Jun 21, 2016

As @david-driscoll said. And there seems to be several similar issues already reported.

Probably close'ish related to dotnet/vscode-csharp#347.

And it was mentioned here: Better Syntax Highlighting - Need API from VS Code to allow extension to do more than just provide TextMate grammar.

@jrieken jrieken removed their assignment Jun 21, 2016
@DustinCampbell
Copy link
Contributor

@jrieken -- could you be sure to file VS Code issues to the omnisharp-vscode repo instead of omnisharp-roslyn?

@DustinCampbell DustinCampbell removed the c# label Jun 30, 2016
@DustinCampbell
Copy link
Contributor

This looks like a dupe of dotnet/vscode-csharp#679.

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

4 participants