sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
272 stars 14 forks source link

Incorrect syntax highlighting in diff window #1873

Open IskanderSitdikov opened 4 months ago

IskanderSitdikov commented 4 months ago

Version info

Incorrect syntax highlighting when using "Raw string literal text" with String interpolation using $ in C# https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/raw-string https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated

Steps to reproduce

Steps to reproduce the behavior:

  1. Add "Raw string literal text" with String interpolation using $ in any .cs file
  2. Look at the difference window

Expected behavior I expect regular syntax highlighting

Diff window: image

Same code in VS: image

srbs commented 4 months ago

This will be fixed in a future release when the default packages get updated: sublimehq/Packages#3789. You should be able to override the C# package if you'd like.