MCPcopy Create free account
hub / github.com/cmoog/vscode-sql-notebook / shouldUseLanguageServer

Function shouldUseLanguageServer

src/commands.ts:143–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141}
142
143function shouldUseLanguageServer(): boolean {
144 return (
145 vscode.workspace.getConfiguration('SQLNotebook').get('useLanguageServer') ||
146 false
147 );
148}
149
150function getQueryTimeoutConfiguration(): number {
151 const defaultTimeout = 30000; // make this the same as the package.json-level configuration default

Callers 1

connectToDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected