-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed as not planned
Closed as not planned
Copy link
Labels
*as-designedDescribed behavior is as designedDescribed behavior is as designedbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberIssue has been confirmed by VS Code Team memberworkspace-symbols
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.81.1
- OS Version: Ubuntu 22.04.2 LTS
Steps to Reproduce:
- Register a dummy WorkspaceSymbolsProvider and log the query argument
export function activate(context: vscode.ExtensionContext) {
function provideWorkspaceSymbols(myQuery, token): vscode.SymbolInformation[] {
vscode.window.showInformationMessage(myQuery)
return [];
}
let disposable = vscode.languages.registerWorkspaceSymbolProvider({
provideWorkspaceSymbols
});
context.subscriptions.push(disposable);
}
- Use ''go to Symbol in Workspace'' -> "query1 query2"
myQuerywill have its value equal to "query1"
I`m not sure if this is intended but I think it should be up to the symbols provider to decide whether or not to treat ( or make use of ) such cases.
andreeageorgian, Andrei10Toma, andreibiu, Jokeswar, catalinstoian16 and 3 more
Metadata
Metadata
Assignees
Labels
*as-designedDescribed behavior is as designedDescribed behavior is as designedbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberIssue has been confirmed by VS Code Team memberworkspace-symbols