ballerina-vscode icon indicating copy to clipboard operation
ballerina-vscode copied to clipboard

Incorrect syntax highlighting for variable names with quotes

Open HirumalPriyashan opened this issue 2 years ago • 0 comments

Description: $title

Notice how the numbers included in the variable names, and the second int in int 'int = 1; are highlighted image

import ballerina/io;

public function main() { 
    int 'int = 1;
    int '\{add\#5\} = 'int;
    int '1PlusI = '\{add\#5\};
    string 'unicode_\u{2324} = "Jane "; 
    string '\u{1F600} = "doe"; 
    io:println('unicode_\u{2324}, '\u{1F600}, '1PlusI);
}

Used VSCode theme: Abyss

HirumalPriyashan avatar Jun 29 '22 11:06 HirumalPriyashan