microsoft / vscode-postgresql

PostgreSQL extension for VSCODE
Other
393 stars 50 forks source link

First Use Hangs #39

Closed resistorsoftware closed 5 years ago

resistorsoftware commented 5 years ago

Steps to Reproduce:

  1. Shift+CTRL P
  2. Select New Query

Result is a message that the extension is unavailable till it loads. Repeat, extension then works.

akamath46297 commented 5 years ago

@resistorsoftware , when you install the extension for the first time, it has to download and start the tools service which might take few seconds based on your network bandwidth. You could see this in the output window similar to what I have shown below. You will not be able to use the extension until this is done. This is exactly what the message states. Let me know if I am interpreting your issue differently.

image

resistorsoftware commented 5 years ago

Interestingly, since the last time I used the extension, doing nothing much at all except cruising some open windows, I decided to try the extension again. But not before noticing that the settings.json for connections was a lot more detailed. Ok! So that tells me something in the extension kicked in and wrote details for itself with more pizazz.

So I tried a query and it worked. And then I added a second connection, and noticed that with no effort, the list of connections was visible, I could choose one, and direct my query at that connection.

Interesting then, that this extension went from broken to updated, to still kinda broken, to working as expected, all within a day, and without me doing anything.