Skip to content

Commit 171ffd0

Browse files
authored
Cherry pick "Bind function to correct this for workspace syms" (#14743)
1 parent ab63f02 commit 171ffd0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/2 Fixes/14727.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix workspace symbol searching always returning empty.

src/client/jupyter/languageserver/notebookMiddlewareAddon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export class NotebookMiddlewareAddon implements Middleware, Disposable {
294294
): ProviderResult<SymbolInformation[]> {
295295
const result = next(query, token);
296296
if (isThenable(result)) {
297-
return result.then(this.converter.toIncomingWorkspaceSymbols.bind(this));
297+
return result.then(this.converter.toIncomingWorkspaceSymbols.bind(this.converter));
298298
}
299299
return this.converter.toIncomingWorkspaceSymbols(result);
300300
}

0 commit comments

Comments
 (0)