提交 e431eb41 编写于 作者: A Alex Dima

Move KeybindingLabels up to /platform/

上级 6450a172
...@@ -10,7 +10,7 @@ import * as nls from 'vs/nls'; ...@@ -10,7 +10,7 @@ import * as nls from 'vs/nls';
import { RunOnceScheduler } from 'vs/base/common/async'; import { RunOnceScheduler } from 'vs/base/common/async';
import { MarkedString } from 'vs/base/common/htmlContent'; import { MarkedString } from 'vs/base/common/htmlContent';
import { ResolvedKeybinding, createKeybinding, KeyCode, KeyMod, KeyChord } from 'vs/base/common/keyCodes'; import { ResolvedKeybinding, createKeybinding, KeyCode, KeyMod, KeyChord } from 'vs/base/common/keyCodes';
import { KeybindingLabels } from 'vs/base/common/keybinding'; import { KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import * as dom from 'vs/base/browser/dom'; import * as dom from 'vs/base/browser/dom';
import { renderHtml } from 'vs/base/browser/htmlContentRenderer'; import { renderHtml } from 'vs/base/browser/htmlContentRenderer';
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
import * as assert from 'assert'; import * as assert from 'assert';
import { KeyCode as StandaloneKeyCode, Severity as StandaloneSeverity } from 'vs/editor/common/standalone/standaloneBase'; import { KeyCode as StandaloneKeyCode, Severity as StandaloneSeverity } from 'vs/editor/common/standalone/standaloneBase';
import { createKeybinding, KeyCode as RuntimeKeyCode } from 'vs/base/common/keyCodes'; import { createKeybinding, KeyCode as RuntimeKeyCode } from 'vs/base/common/keyCodes';
import { KeybindingLabels } from 'vs/base/common/keybinding'; import { KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import RuntimeSeverity from 'vs/base/common/severity'; import RuntimeSeverity from 'vs/base/common/severity';
suite('StandaloneBase', () => { suite('StandaloneBase', () => {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
import * as nls from 'vs/nls'; import * as nls from 'vs/nls';
import { IHTMLContentElement } from 'vs/base/common/htmlContent'; import { IHTMLContentElement } from 'vs/base/common/htmlContent';
import { ResolvedKeybinding, SimpleKeybinding, Keybinding } from 'vs/base/common/keyCodes'; import { ResolvedKeybinding, SimpleKeybinding, Keybinding } from 'vs/base/common/keyCodes';
import { KeybindingLabels } from 'vs/base/common/keybinding'; import { KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import Severity from 'vs/base/common/severity'; import Severity from 'vs/base/common/severity';
import { isFalsyOrEmpty } from 'vs/base/common/arrays'; import { isFalsyOrEmpty } from 'vs/base/common/arrays';
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
'use strict'; 'use strict';
import { createKeybinding, SimpleKeybinding, Keybinding } from 'vs/base/common/keyCodes'; import { createKeybinding, SimpleKeybinding, Keybinding } from 'vs/base/common/keyCodes';
import { ISimplifiedPlatform, KeybindingLabels } from 'vs/base/common/keybinding'; import { ISimplifiedPlatform, KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import * as platform from 'vs/base/common/platform'; import * as platform from 'vs/base/common/platform';
import { IKeybindingItem, IUserFriendlyKeybinding } from 'vs/platform/keybinding/common/keybinding'; import { IKeybindingItem, IUserFriendlyKeybinding } from 'vs/platform/keybinding/common/keybinding';
import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey'; import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
import * as assert from 'assert'; import * as assert from 'assert';
import { ResolvedKeybinding, Keybinding, SimpleKeybinding, createKeybinding, KeyCode, KeyMod, KeyChord } from 'vs/base/common/keyCodes'; import { ResolvedKeybinding, Keybinding, SimpleKeybinding, createKeybinding, KeyCode, KeyMod, KeyChord } from 'vs/base/common/keyCodes';
import { SimpleResolvedKeybinding, AbstractKeybindingService } from 'vs/platform/keybinding/common/abstractKeybindingService'; import { SimpleResolvedKeybinding, AbstractKeybindingService } from 'vs/platform/keybinding/common/abstractKeybindingService';
import { KeybindingLabels } from 'vs/base/common/keybinding'; import { KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import { IDisposable } from 'vs/base/common/lifecycle'; import { IDisposable } from 'vs/base/common/lifecycle';
import Severity from 'vs/base/common/severity'; import Severity from 'vs/base/common/severity';
import { ICommandService } from 'vs/platform/commands/common/commands'; import { ICommandService } from 'vs/platform/commands/common/commands';
......
...@@ -8,7 +8,7 @@ import * as assert from 'assert'; ...@@ -8,7 +8,7 @@ import * as assert from 'assert';
import { KeyCode, KeyMod, KeyChord } from 'vs/base/common/keyCodes'; import { KeyCode, KeyMod, KeyChord } from 'vs/base/common/keyCodes';
import { NormalizedKeybindingItem, IOSupport } from 'vs/platform/keybinding/common/keybindingResolver'; import { NormalizedKeybindingItem, IOSupport } from 'vs/platform/keybinding/common/keybindingResolver';
import { IUserFriendlyKeybinding } from 'vs/platform/keybinding/common/keybinding'; import { IUserFriendlyKeybinding } from 'vs/platform/keybinding/common/keybinding';
import { ISimplifiedPlatform } from 'vs/base/common/keybinding'; import { ISimplifiedPlatform } from 'vs/platform/keybinding/common/keybindingLabels';
suite('Keybinding IO', () => { suite('Keybinding IO', () => {
......
...@@ -37,7 +37,7 @@ import { ActionBar } from 'vs/base/browser/ui/actionbar/actionbar'; ...@@ -37,7 +37,7 @@ import { ActionBar } from 'vs/base/browser/ui/actionbar/actionbar';
import { CombinedInstallAction, UpdateAction, EnableAction, DisableAction, BuiltinStatusLabelAction, ReloadAction } from 'vs/workbench/parts/extensions/browser/extensionsActions'; import { CombinedInstallAction, UpdateAction, EnableAction, DisableAction, BuiltinStatusLabelAction, ReloadAction } from 'vs/workbench/parts/extensions/browser/extensionsActions';
import WebView from 'vs/workbench/parts/html/browser/webview'; import WebView from 'vs/workbench/parts/html/browser/webview';
import { createKeybinding } from 'vs/base/common/keyCodes'; import { createKeybinding } from 'vs/base/common/keyCodes';
import { KeybindingLabels } from 'vs/base/common/keybinding'; import { KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement'; import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement';
import { IMessageService } from 'vs/platform/message/common/message'; import { IMessageService } from 'vs/platform/message/common/message';
......
...@@ -20,7 +20,7 @@ import { IRequestService } from 'vs/platform/request/node/request'; ...@@ -20,7 +20,7 @@ import { IRequestService } from 'vs/platform/request/node/request';
import { asText } from 'vs/base/node/request'; import { asText } from 'vs/base/node/request';
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
import { createKeybinding } from 'vs/base/common/keyCodes'; import { createKeybinding } from 'vs/base/common/keyCodes';
import { KeybindingLabels } from 'vs/base/common/keybinding'; import { KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import { IOpenerService } from 'vs/platform/opener/common/opener'; import { IOpenerService } from 'vs/platform/opener/common/opener';
import { IWorkbenchContribution } from 'vs/workbench/common/contributions'; import { IWorkbenchContribution } from 'vs/workbench/common/contributions';
import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage'; import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage';
......
...@@ -8,7 +8,7 @@ import * as nls from 'vs/nls'; ...@@ -8,7 +8,7 @@ import * as nls from 'vs/nls';
import { IHTMLContentElement } from 'vs/base/common/htmlContent'; import { IHTMLContentElement } from 'vs/base/common/htmlContent';
import { IJSONSchema } from 'vs/base/common/jsonSchema'; import { IJSONSchema } from 'vs/base/common/jsonSchema';
import { ResolvedKeybinding, Keybinding } from 'vs/base/common/keyCodes'; import { ResolvedKeybinding, Keybinding } from 'vs/base/common/keyCodes';
import { KeybindingLabels } from 'vs/base/common/keybinding'; import { KeybindingLabels } from 'vs/platform/keybinding/common/keybindingLabels';
import * as platform from 'vs/base/common/platform'; import * as platform from 'vs/base/common/platform';
import { toDisposable } from 'vs/base/common/lifecycle'; import { toDisposable } from 'vs/base/common/lifecycle';
import { ExtensionMessageCollector, ExtensionsRegistry } from 'vs/platform/extensions/common/extensionsRegistry'; import { ExtensionMessageCollector, ExtensionsRegistry } from 'vs/platform/extensions/common/extensionsRegistry';
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
import * as nativeKeymap from 'native-keymap'; import * as nativeKeymap from 'native-keymap';
import { KeyCode, KeyCodeUtils } from 'vs/base/common/keyCodes'; import { KeyCode, KeyCodeUtils } from 'vs/base/common/keyCodes';
import { CharCode } from 'vs/base/common/charCode'; import { CharCode } from 'vs/base/common/charCode';
import { IKeyBindingLabelProvider, MacUIKeyLabelProvider, ClassicUIKeyLabelProvider, AriaKeyLabelProvider } from 'vs/base/common/keybinding'; import { IKeyBindingLabelProvider, MacUIKeyLabelProvider, ClassicUIKeyLabelProvider, AriaKeyLabelProvider } from 'vs/platform/keybinding/common/keybindingLabels';
import { lookupKeyCode, setExtractKeyCode } from 'vs/base/browser/keyboardEvent'; import { lookupKeyCode, setExtractKeyCode } from 'vs/base/browser/keyboardEvent';
import Platform = require('vs/base/common/platform'); import Platform = require('vs/base/common/platform');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册