We use UniVerse which allows strings to be quoted with backslashes.
I just realised that the backslash quoted strings in MV BASIC are not recognised as strings, and then found it has been a bug since 2022
Not having correct string detection causes flow-on false-positive errors to be presented which make using MV BASIC less valuable as you have to sort through those reports just in case it is hiding a real problem.
I used Bing’s search to understand what is needed to sort this out.
Bing’s AI indicates this is the snippet needed
{
"name": "string.quoted.backslash.mvbasic",
"begin": "\\\\",
"end": "\\\\"
}
and that it should live in the syntaxes/mvbasic.tmLanguage.json file within the rocketsoftware.mvbasic extension folder.
I have not tried this, but if it is as simple as that could it be corrected in the next MV BASIC extension release?




