2

Do you know any way to force intellisence in Azure Data Studio to find tables in custom schemas? enter image description here

As you can see I have tables:

  • dbo.TableC
  • schemaA.TableB

When typing a query, only TableC is found by intellisence. I know that full SQL Server Management Studio does not do this by default as well but there are some extensions that do this (e.q. SqlComplete). Is there anything for Azure Data Studio with similar functionalities?

Update:

I created an issue on Azure Data Studio github. It's here: https://github.com/microsoft/azuredatastudio/issues/18514

2
  • If you have created a new schema, you should close & open the connection just to refresh the info or right-click on the server and 'Refresh'.
    – McNets
    Commented Feb 22, 2022 at 10:57
  • @McNets, it doesn't help :(
    – GrzegorzM
    Commented Feb 22, 2022 at 12:45

1 Answer 1

1

You may need to refresh the IntelliSense cache. Previously in SSMS, this was easily achievable via the shortcut CTRL+SHIFT+R but it seems that's no longer the case in Azure Data Studio.

Rather, in Azure Data Studio, you need to open the Command Palette, type in intellisense, and then you should be able to click on Refresh IntelliSense Cache as per this answer by AMtwo on a similar question:

To do this in ADS, press CTRL+SHIFT+P to bring up the Command Palette, and type intellisense. The drop down list will filter so you can select Refresh IntelliSense Cache from the listed options.

Perhaps there's a way to create a dedicated shortcut to this specific command too.

3
  • nope, it doesn't help. TableB is still not visible on the suggestions list.
    – GrzegorzM
    Commented Feb 22, 2022 at 14:28
  • @GrzegorzM Are you using the latest version of Azure Data Studio?
    – J.D.
    Commented Feb 22, 2022 at 17:22
  • Yes I do, version 1.34.0.
    – GrzegorzM
    Commented Feb 23, 2022 at 7:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.