We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93adefd commit a0b6082Copy full SHA for a0b6082
packages/jupyterlab-lsp/src/features/symbol.ts
@@ -274,10 +274,11 @@ export class SymbolFeature extends Feature {
274
}
275
const connection = this.connectionManager.connections.get(
276
adapter.virtualDocument.uri
277
- )!;
+ );
278
279
if (
280
!(
281
+ connection &&
282
connection.isReady &&
283
connection.serverCapabilities.documentSymbolProvider
284
)
0 commit comments