diff options
Diffstat (limited to 'src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts')
-rw-r--r-- | src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts b/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts index 703b333927a..a8b90ea7be3 100644 --- a/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts +++ b/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.ts @@ -201,7 +201,7 @@ export class GotoSymbolQuickAccessProvider extends AbstractGotoSymbolQuickAccess item.highlights = undefined; return true; } - const score = fuzzyScore(picker.value, picker.value.toLowerCase(), 1 /*@-character*/, item.label, item.label.toLowerCase(), 0, true); + const score = fuzzyScore(picker.value, picker.value.toLowerCase(), 1 /*@-character*/, item.label, item.label.toLowerCase(), 0, { firstMatchCanBeWeak: true, boostFullMatch: true }); if (!score) { return false; } @@ -270,11 +270,15 @@ registerAction2(class GotoSymbolAction extends Action2 { weight: KeybindingWeight.WorkbenchContrib, primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyO }, - menu: { + menu: [{ id: MenuId.MenubarGoMenu, group: '4_symbol_nav', order: 1 - } + }, { + id: MenuId.TitleMenuQuickPick, + group: '3/editorNav', + order: 1 + }] }); } |