Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh Intellisence cache option don't work #1194

Closed
ccarlos12 opened this issue Mar 18, 2019 · 9 comments
Closed

Refresh Intellisence cache option don't work #1194

ccarlos12 opened this issue Mar 18, 2019 · 9 comments
Assignees
Labels

Comments

@ccarlos12
Copy link

  • MSSQL Extension Version:1.4.0
  • VSCode Version:1.32.3
  • OS Version: Windows_NT x 6.1.7601

Steps to Reproduce:

1.Connect with MSSQL to sql database
2.create a SQL File
3.make a Select sql script, but the list of tables dont't have the objets of the database. In othes versions it works very well. Please fix it
image

@repalmervi
Copy link

I'm experiencing this issue as well for about the last two weeks. I recently got a new computer and installed a lot of extensions, so I thought one of them was causing this. I just fully uninstalled vscode and all preferences and extensions, and with only mssql added I continue to have this error.

@kburtram
Copy link
Member

@repalmervi a recent VS Code upgrade broke the mssql extension's IntelliSense implementation. Basically we are using an older version of the vscode-languageclient that has fallen out of support. I have a PR to upgrade a new module version at #1197. We'll publish a new extension update soon (likely today or tomorrow) once testing is complete.

I'll attach a VSIX download link to the PR this afternoon if you'd like to side-load the "in-development" version to resolve the issue prior to the extension update release.

@kburtram
Copy link
Member

The vscode-mssql `1.5.0. release is now published with the language client update that should resolve this issue. Please let me know if the issue persists with the latest build.

@repalmervi
Copy link

repalmervi commented Mar 23, 2019 via email

@ccarlos12
Copy link
Author

I restart my laptop and the intellicense works ok. Im not sure why, but with this way I fix the problem

@SargntSprinkles
Copy link

SargntSprinkles commented Oct 3, 2019

I'm on v1.6.0 and the refresh cache option doesn't work for me. I have to quit VSCode in order to get updated schema information. Reproduction steps:

  1. Connect to SQL in VSCode
  2. Create a new table
  3. Refresh Intellisense cache
  4. Write a select query against that table and receive red squigglies indicating the table doesn't exist

Edit 10/23/2019:
The extension version is now 1.7.0 and my Intellisense no longer gives me suggestions from the database schema at all. It only gives suggestions based on existing text in the window. I'm connected to a local SQL 2016 server instance.
image

@jkarr
Copy link

jkarr commented Nov 12, 2019

I'm experiencing the same issue as described by @SargntSprinkles . I'm on version 1.7.0 and refreshing intellisense cache does not give me any schema based intellisense. @kburtram

@crumdev
Copy link

crumdev commented Nov 18, 2019

I am experiencing this problem as well.

Using:
Sql Server 2016

image

image

I uninstalled/reinstalled the extension restarting VS Code for good measure after each step.

@khashayarnazari
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants