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

Activate extensions less eagerly

Open gjsjohnmurray opened this issue 1 year ago • 1 comments

Currently the core extension and the bundled driver extensions all include * in their set of activationEvents.

They would be better VS Code citizens if they only activated when being used for the first time.

gjsjohnmurray avatar Aug 01 '22 17:08 gjsjohnmurray

The four bundled drivers currently have this:

  "activationEvents": [
    "*",
    "onLanguage:sql",
    "onCommand:sqltools.*"
  ],

However the onCommand event doesn't yet support wildcards. See https://github.com/microsoft/vscode/issues/134373

gjsjohnmurray avatar Aug 01 '22 17:08 gjsjohnmurray

Duplicate of #886

gjsjohnmurray avatar Aug 13 '22 03:08 gjsjohnmurray