3
Vote

Support for interpolated strings ($"{expr}")

description

Since some time we use interpolated strings such as $"This a text with a variable value: {myvariable}", instead of string.Format("This is a text with a variable value: {0}", myvariable).

However, the Visual Localizer does not recognize them when marked with /VL_NO_LOC/ such as:

/VL_NO_LOC/$"string"

Also, it does not place the comment correctly; it uses:

$/VL_NO_LOC/"string"

Which no longer compiles. It would be a valuable improvement when it would support interpolated strings too.

comments