c.tmbundle icon indicating copy to clipboard operation
c.tmbundle copied to clipboard

Syntax highlighting gets confusing when defining a reference to an array

Open alexdima opened this issue 10 years ago • 2 comments

From Microsoft/vscode#756:

If a function's parameter is a reference to an array of constants, the data type will be recognized as a function declaration: 1

If a reference to an array of constants is defined in a block, the data type will not be highlighted: 1

If a reference to an array (not constant) is defined in a block, the data type will be recognized as a function call: 1

alexdima avatar Nov 30 '15 10:11 alexdima

Here's how it looks in the more widely known Monokai:

image

alexdima avatar Nov 30 '15 10:11 alexdima

cc @LittleSaya

alexdima avatar Nov 30 '15 10:11 alexdima