If you have a file path within the "raw" interpolator (so you dont have to use '\\' and can instead just use a single '\'), all sorts of stuff is still highlighted including "\n" and "\t".
Example:
val path = raw"temp\test\newDir"
Example:
val path = raw"temp\test\newDir"
Leave a comment
This is a known limitation, but difficult to fix in general, since the IDE does not have semantic knowledge over the string interpolator. It could have this knowledge but it would slow syntax highlighting and is therefore probably not worth it. An easier approach is to hardcode that for a `raw` interpolator a different highlighting approach should be chosen.
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|