iqsharp icon indicating copy to clipboard operation
iqsharp copied to clipboard

Highlight "size" as a keyword in array literal context

Open tcNickolas opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Q# Jupyter Notebooks don't highlight "size" as a keyword.

Describe the solution you'd like Highlight "size" as a keyword in the context of array literals: something like "a comma, optional whitespace, size, optional whitespace, equality sign" should highlight "size" as a keyword, but other contexts shouldn't.

let size = 123;
let xs = [size, size = 2]; // first size is a variable, second size is a "keyword"

tcNickolas avatar Apr 26 '22 19:04 tcNickolas