Returns the names of all template variables (e.g. webViewId for {webViewId}) used in a
when-expression. Used by contribution validation to reject unknown placeholders at load time.
Parameters
expression: string
The when-expression to inspect
Returns string[]
Array of unique template variable names
Throws
Error if the expression is not valid
This function is unstable and may change or disappear without notice
Returns the names of all template variables (e.g.
webViewIdfor{webViewId}) used in a when-expression. Used by contribution validation to reject unknown placeholders at load time.