microsoft / vscode-postgresql

PostgreSQL extension for VSCODE
Other
399 stars 50 forks source link

Error: command 'vscode.previewHtml' not found - MacOS #31

Closed resistorsoftware closed 5 years ago

resistorsoftware commented 5 years ago

Steps to Reproduce:

  1. Install extension
  2. shift-command P, new query
  3. provide localhost, database name, user, password
  4. write simple query
  5. execute query

This was working fine until I updated MacOS. Now this extension and VSCode do not work at all. Any attempt to run a query results in the terminal error message Error: command 'vscode.previewHtml' not found and nothing else. No query is ever run.

Looking in the logs, it is clear the extension does run:

10:24:31 AM] Started query execution for document "untitled:Untitled-1" [10:24:31 AM] Finished query execution for document "untitled:Untitled-1"

However no data is retrieved or displayed.

akamath46297 commented 5 years ago

@resistorsoftware , thanks for reporting. With VSCODE 1.33.0 vscode.previewHtml is deprecated. We have published the new release with this fix and bunch of other fixes here https://github.com/Microsoft/vscode-postgresql/releases/tag/v0.2.0. Please update your extension.

akamath46297 commented 5 years ago

This is fixed with 0.2.0 release