mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.48k stars 296 forks source link

Add New Connection does nothing #1003

Open thewilq opened 1 year ago

thewilq commented 1 year ago

Hi,

sqltools Add New Connection does nothing for me, I can click all day. No error messages, nothing. I tried reinstalling the extension. Are there any pre-requisites for it to work properly? How do I figure out what's wrong? image

jbhannah commented 1 year ago

I get the following error when trying to open the "Add New Connection" view:

Screenshot 2022-10-05 at 09 05 10

An entirely empty tab titled "SQLTools Settings" is opened, but nothing else happens.

gjsjohnmurray commented 1 year ago

From Command Palette please run SQLTools Management: Show Output Channel Logs

Copy the content of that output channel and paste it here, or save it to a file and attach the file. Please note that email responses to GitHub will not transmit attachments. Please use the web UI.

gjsjohnmurray commented 1 year ago

Perhaps https://github.com/mtxr/vscode-sqltools/issues/593#issuecomment-1272446735 is a workaround?

thewilq commented 1 year ago

@gjsjohnmurray image

gjsjohnmurray commented 1 year ago

@thewilq it's odd that the SQLTools view is displaying for you but VS Code doesn't find commands that the extension registers.

Please open VS Code's About box (one way is to run the Help: About command), copy version details, and paste them here.

Also run the command Developer: Show Logs..., choose Extension Host, click into the log and use Ctrl/CMD+F to find any occurrences of mtxr.sqltools.

skont commented 1 year ago

Hi,

I have the same issue. Here is my about:

image

And the results from Logs (only shows once):

[2022-10-25 08:18:12.867] [exthost] [info] ExtensionService#_doActivateExtension mtxr.sqltools, startup: true, activationEvent: '*'

colin715 commented 1 year ago

I am experiencing the same issue here

EDIT: This was the problem - https://github.com/mtxr/vscode-sqltools/pull/993#issuecomment-1265828891