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

C# 6.0 string interpolation does not recognize the end of string #638

Closed
Tyriar opened this issue Aug 4, 2016 · 4 comments
Closed

C# 6.0 string interpolation does not recognize the end of string #638

Tyriar opened this issue Aug 4, 2016 · 4 comments

Comments

@Tyriar
Copy link
Contributor

Tyriar commented Aug 4, 2016

From @RaulOnk on August 4, 2016 21:47

  • VSCode Version: Code 1.4.0 (6276dcb0ae497766056b4c09ea75be1d76a8b679, 2016-08-04T16:45:31.680Z)
  • OS Version: Windows_NT ia32 10.0.10586

Steps to Reproduce:

When doing string interpolation everything greys out. For example
public void GreetName() => Console.WriteLine($"Hello {this.Name}");
will grey out everything under that method. It does not recognize where the string ended.

Copied from original issue: microsoft/vscode#10146

@Tyriar
Copy link
Contributor Author

Tyriar commented Aug 4, 2016

@RaulOnk do you have the C# extension installed?

@Tyriar
Copy link
Contributor Author

Tyriar commented Aug 4, 2016

From @RaulOnk on August 4, 2016 22:32

Yes and it compiled just fine. It is just visually not working and anything under that does not have auto complete.

@Tyriar
Copy link
Contributor Author

Tyriar commented Aug 4, 2016

From @RaulOnk on August 4, 2016 22:33

image

@ivanz
Copy link
Contributor

ivanz commented Aug 17, 2016

Had a quick look at this one and the root cause is that highlighting regex stuff doesn't support expression bodied members from what I can tell.

ivanz added a commit to ivanz/omnisharp-vscode that referenced this issue Aug 17, 2016
ivanz added a commit to ivanz/omnisharp-vscode that referenced this issue Aug 17, 2016
ivanz added a commit to ivanz/omnisharp-vscode that referenced this issue Aug 17, 2016
ivanz added a commit to ivanz/omnisharp-vscode that referenced this issue Aug 18, 2016
ivanz added a commit to ivanz/omnisharp-vscode that referenced this issue Aug 18, 2016
ivanz added a commit to ivanz/omnisharp-vscode that referenced this issue Aug 18, 2016
@DustinCampbell DustinCampbell added this to the 1.4 milestone Aug 18, 2016
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

3 participants