Code
For this case vscode provides special scope 'punctuation.definition.binding-pattern.array'
const [value] = 'string'
For all these cases vscode provides single scope 'meta.array.literal meta.brace.square'
// array literal
const a = [1, 2, 3]
// array access by index
const b = a[1]
// object property access by name
const c = Math['min']
// object literal computed keys
const d = {
[`key`]: 'computed'
}
TS and JS Grammar Extension version: 0.0.41 / latest
Code For this case vscode provides special scope 'punctuation.definition.binding-pattern.array'
For all these cases vscode provides single scope 'meta.array.literal meta.brace.square'
Can you add different scopes for each case?