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

cql.schema config key in package.json should be cql.connection

Open ches opened this issue 6 years ago • 0 comments

The README refers to cql.connection and several places in the code use vscode.workspace.getConfiguration("cql")["connection"], but package.json defines it as cql.schema. When I used e.g. "Scan Schema" out of the box, it broke with an error of "Cannot read property 'contactPoints' of undefined". I then opened Settings, edited the cql.schema setting so that it was copied into my user settings, and changed the key to cql.connection, then it works (although VS Code warns about the unknown setting).

ches avatar Apr 05 '18 10:04 ches