Skip to content

Commit

Permalink
fix: include editor symbol picks unless symbols are explicitly disabl…
Browse files Browse the repository at this point in the history
…ed (#216531)
  • Loading branch information
joyceerhl committed Jun 18, 2024
1 parent b555511 commit 5437499
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export class AnythingQuickAccessProvider extends PickerQuickAccessProvider<IAnyt
// Return early if we have editor symbol picks. We support this by:
// - having a previously active global pick (e.g. a file)
// - the user typing `@` to start the local symbol query
if (options.enableEditorSymbolSearch && options.includeSymbols) {
if (options.enableEditorSymbolSearch && options.includeSymbols !== false) {
const editorSymbolPicks = this.getEditorSymbolPicks(query, disposables, token);
if (editorSymbolPicks) {
return editorSymbolPicks;
Expand Down

1 comment on commit 5437499

@Karliz24
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/vs/workbench/contrib/search/browser/anythingQuickAccess.ts

Please sign in to comment.