diff --git a/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.ts b/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.ts index a2f5c1b3902d1a..357ba3a2604dc7 100644 --- a/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.ts +++ b/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.ts @@ -14,7 +14,6 @@ import { ICodeEditorService } from 'vs/editor/browser/services/codeEditorService import { Position } from 'vs/editor/common/core/position'; import { Range } from 'vs/editor/common/core/range'; import { IEditorContribution } from 'vs/editor/common/editorCommon'; -import { EditorContextKeys } from 'vs/editor/common/editorContextKeys'; import { PeekContext } from 'vs/editor/contrib/peekView/peekView'; import { localize } from 'vs/nls'; import { MenuId, registerAction2 } from 'vs/platform/actions/common/actions'; @@ -184,11 +183,6 @@ registerAction2(class extends EditorAction2 { PeekContext.notInPeekEditor ), }, - keybinding: { - when: EditorContextKeys.editorTextFocus, - weight: KeybindingWeight.WorkbenchContrib, - primary: KeyMod.Shift + KeyMod.Alt + KeyCode.KEY_H // TODO: to specify a proper keybinding? - }, precondition: ContextKeyExpr.and( _ctxHasTypeHierarchyProvider, PeekContext.notInPeekEditor diff --git a/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.ts b/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.ts index 5790c67d40604d..1c998bc8bf8ed2 100644 --- a/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.ts +++ b/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.ts @@ -26,8 +26,8 @@ export const enum TypeHierarchyDirection { export interface TypeHierarchyItem { _sessionId: string; _itemId: string; - name: string; kind: SymbolKind; + name: string; detail?: string; uri: URI; range: IRange;