microsoft / vscode-mssql

Visual Studio Code SQL Server extension.
Other
1.53k stars 457 forks source link

Can this extension stop checking for update when it's activating? #17371

Open jiangyz7cc opened 2 years ago

jiangyz7cc commented 2 years ago

Steps to Reproduce: When vscode launching, then this extension loading: looks like it will try to update sql tools service when available:

It will try to download a zip file called: sql tools services Microsoft.SqlTools.ServiceLayer-win-x64-net6.0.zip to: C:\Users\me\.vscode\extensions\ms-mssql.mssql-1.15.0\sqltoolsservice\4.0.1.1\Windows

But accessing to github is unstable & limited in my country. And I may use this on computers that have very low net speed.

Every upate I have to download the package manually, and wait a long time.

I looked throught the config items but there is no stop updating options. I turned off vscode's extensions auto update, but the package's update is not controlled by vs code, it's by this extension.

So I wanna know if the update of SqlToolsService can be turn off by default or offer an options to turn if off.

kburtram commented 1 month ago

The SQL Tools Service component is a critical dependency and needs to be updated when the extension updates since that is where much of the new functionality & bug fixes will be implemented. We have previously provided "offline VSIX" files in the GitHub release (e.g. https://github.com/microsoft/vscode-mssql/releases/tag/v1.22.1) and these would not require a download on first activation. But if the problem is downloading larger files from GitHub, I'm not sure whether that would be any better of a solution for this scenario.