mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
linting: convert double quote imports to single quote
This commit is contained in:
parent
a8fb36fc28
commit
a9486e406f
|
@ -3,7 +3,7 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { OutputChannel, window } from "vscode";
|
||||
import { OutputChannel, window } from 'vscode';
|
||||
import * as is from './is';
|
||||
|
||||
import * as nls from 'vscode-nls';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { extensions } from "vscode";
|
||||
import { extensions } from 'vscode';
|
||||
|
||||
|
||||
export interface TypeScriptServerPlugin {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
import * as path from 'path';
|
||||
import VsCodeTelemetryReporter from 'vscode-extension-telemetry';
|
||||
import { Disposable } from "vscode";
|
||||
import { Disposable } from 'vscode';
|
||||
|
||||
|
||||
interface IPackageInfo {
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
import 'vs/css!./countBadge';
|
||||
import { $, append } from 'vs/base/browser/dom';
|
||||
import { format } from 'vs/base/common/strings';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { mixin } from "vs/base/common/objects";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { mixin } from 'vs/base/common/objects';
|
||||
|
||||
export interface ICountBadgeOptions extends ICountBadgetyles {
|
||||
count?: number;
|
||||
|
|
|
@ -11,8 +11,8 @@ import assert = require('vs/base/common/assert');
|
|||
import { Builder, $ } from 'vs/base/browser/builder';
|
||||
import DOM = require('vs/base/browser/dom');
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { mixin } from "vs/base/common/objects";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { mixin } from 'vs/base/common/objects';
|
||||
|
||||
const css_done = 'done';
|
||||
const css_active = 'active';
|
||||
|
|
|
@ -8,7 +8,7 @@ import * as assert from 'assert';
|
|||
import {
|
||||
SyntaxKind, createScanner, parse, getLocation, Node, ParseError, parseTree, ParseErrorCode, ParseOptions, Segment, findNodeAtLocation, getNodeValue, ScanError
|
||||
} from 'vs/base/common/json';
|
||||
import { getParseErrorMessage } from "vs/base/common/jsonErrorMessages";
|
||||
import { getParseErrorMessage } from 'vs/base/common/jsonErrorMessages';
|
||||
|
||||
function assertKinds(text: string, ...kinds: SyntaxKind[]): void {
|
||||
var scanner = createScanner(text);
|
||||
|
|
|
@ -22,7 +22,7 @@ import product from 'vs/platform/node/product';
|
|||
import { getCommonHTTPHeaders } from 'vs/platform/environment/node/http';
|
||||
import { IWindowSettings, MenuBarVisibility } from 'vs/platform/windows/common/windows';
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import { KeyboardLayoutMonitor } from "vs/code/node/keyboard";
|
||||
import { KeyboardLayoutMonitor } from 'vs/code/node/keyboard';
|
||||
|
||||
export interface IWindowState {
|
||||
width?: number;
|
||||
|
|
|
@ -31,7 +31,7 @@ import product from 'vs/platform/node/product';
|
|||
import { OpenContext } from 'vs/code/common/windows';
|
||||
import { ITelemetryService, ITelemetryData } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { isParent, isEqual, isEqualOrParent } from 'vs/platform/files/common/files';
|
||||
import { KeyboardLayoutMonitor } from "vs/code/node/keyboard";
|
||||
import { KeyboardLayoutMonitor } from 'vs/code/node/keyboard';
|
||||
|
||||
enum WindowError {
|
||||
UNRESPONSIVE,
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import * as nativeKeymap from 'native-keymap';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import { isMacintosh } from "vs/base/common/platform";
|
||||
import { Emitter } from "vs/base/common/event";
|
||||
import { isMacintosh } from 'vs/base/common/platform';
|
||||
import { Emitter } from 'vs/base/common/event';
|
||||
|
||||
export class KeyboardLayoutMonitor {
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@ import { HorizontalRange, RenderingContext, RestrictedRenderingContext } from 'v
|
|||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { FastDomNode, createFastDomNode } from 'vs/base/browser/fastDomNode';
|
||||
import { ViewController } from 'vs/editor/browser/view/viewController';
|
||||
import { EndOfLinePreference } from "vs/editor/common/editorCommon";
|
||||
import { IKeyboardEvent } from "vs/base/browser/keyboardEvent";
|
||||
import { PartFingerprints, PartFingerprint, ViewPart } from "vs/editor/browser/view/viewPart";
|
||||
import { Margin } from "vs/editor/browser/viewParts/margin/margin";
|
||||
import { LineNumbersOverlay } from "vs/editor/browser/viewParts/lineNumbers/lineNumbers";
|
||||
import { BareFontInfo } from "vs/editor/common/config/fontInfo";
|
||||
import { EndOfLinePreference } from 'vs/editor/common/editorCommon';
|
||||
import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { PartFingerprints, PartFingerprint, ViewPart } from 'vs/editor/browser/view/viewPart';
|
||||
import { Margin } from 'vs/editor/browser/viewParts/margin/margin';
|
||||
import { LineNumbersOverlay } from 'vs/editor/browser/viewParts/lineNumbers/lineNumbers';
|
||||
import { BareFontInfo } from 'vs/editor/common/config/fontInfo';
|
||||
|
||||
export interface ITextAreaHandlerHelper {
|
||||
visibleRangeForPositionRelativeToEditor(lineNumber: number, column: number): HorizontalRange;
|
||||
|
|
|
@ -13,8 +13,8 @@ import { ITypeData, TextAreaState, ITextAreaWrapper } from 'vs/editor/browser/co
|
|||
import * as browser from 'vs/base/browser/browser';
|
||||
import * as platform from 'vs/base/common/platform';
|
||||
import * as dom from 'vs/base/browser/dom';
|
||||
import { IKeyboardEvent } from "vs/base/browser/keyboardEvent";
|
||||
import { FastDomNode } from "vs/base/browser/fastDomNode";
|
||||
import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { FastDomNode } from 'vs/base/browser/fastDomNode';
|
||||
|
||||
export interface ICompositionData {
|
||||
data: string;
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ICommandService } from 'vs/platform/commands/common/commands';
|
|||
import { IViewModel } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { ViewOutgoingEvents } from 'vs/editor/browser/view/viewOutgoingEvents';
|
||||
import { CoreNavigationCommands, CoreEditorCommand } from 'vs/editor/common/controller/coreCommands';
|
||||
import { Configuration } from "vs/editor/browser/config/configuration";
|
||||
import { Configuration } from 'vs/editor/browser/config/configuration';
|
||||
|
||||
export interface ExecCoreEditorCommandFunc {
|
||||
(editorCommand: CoreEditorCommand, args: any): void;
|
||||
|
|
|
@ -48,7 +48,7 @@ import { EditorScrollbar } from 'vs/editor/browser/viewParts/editorScrollbar/edi
|
|||
import { Minimap } from 'vs/editor/browser/viewParts/minimap/minimap';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { IThemeService, getThemeTypeSelector } from 'vs/platform/theme/common/themeService';
|
||||
import { Cursor } from "vs/editor/common/controller/cursor";
|
||||
import { Cursor } from 'vs/editor/common/controller/cursor';
|
||||
|
||||
export interface IContentWidgetData {
|
||||
widget: editorBrowser.IContentWidget;
|
||||
|
|
|
@ -13,7 +13,7 @@ import { ViewContext } from 'vs/editor/common/view/viewContext';
|
|||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { RenderingContext, RestrictedRenderingContext } from 'vs/editor/common/view/renderingContext';
|
||||
import { FastDomNode, createFastDomNode } from 'vs/base/browser/fastDomNode';
|
||||
import { getThemeTypeSelector } from "vs/platform/theme/common/themeService";
|
||||
import { getThemeTypeSelector } from 'vs/platform/theme/common/themeService';
|
||||
|
||||
export class EditorScrollbar extends ViewPart {
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ import { RGBA } from 'vs/base/common/color';
|
|||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { GlobalMouseMoveMonitor, IStandardMouseMoveEventData, standardMouseMoveMerger } from 'vs/base/browser/globalMouseMoveMonitor';
|
||||
import * as platform from 'vs/base/common/platform';
|
||||
import { registerThemingParticipant } from "vs/platform/theme/common/themeService";
|
||||
import { scrollbarSliderBackground, scrollbarSliderHoverBackground, scrollbarSliderActiveBackground, scrollbarShadow } from "vs/platform/theme/common/colorRegistry";
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { scrollbarSliderBackground, scrollbarSliderHoverBackground, scrollbarSliderActiveBackground, scrollbarShadow } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
const enum RenderMinimap {
|
||||
None = 0,
|
||||
|
|
|
@ -11,8 +11,8 @@ import { ViewPart } from 'vs/editor/browser/view/viewPart';
|
|||
import { ViewContext } from 'vs/editor/common/view/viewContext';
|
||||
import { RenderingContext, RestrictedRenderingContext } from 'vs/editor/common/view/renderingContext';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { registerThemingParticipant } from "vs/platform/theme/common/themeService";
|
||||
import { scrollbarShadow } from "vs/platform/theme/common/colorRegistry";
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { scrollbarShadow } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
export class ScrollDecorationViewPart extends ViewPart {
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import { scrollbarShadow, diffInserted, diffRemoved, defaultInsertColor, default
|
|||
import { Color } from 'vs/base/common/color';
|
||||
import { OverviewRulerZone } from 'vs/editor/common/view/overviewZoneManager';
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
interface IEditorDiffDecorations {
|
||||
decorations: editorCommon.IModelDeltaDecoration[];
|
||||
|
|
|
@ -28,8 +28,8 @@ import {
|
|||
import * as editorOptions from 'vs/editor/common/config/editorOptions';
|
||||
import { ICursorPositionChangedEvent, ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { CommonEditorRegistry } from "vs/editor/common/editorCommonExtensions";
|
||||
import { VerticalRevealType } from "vs/editor/common/view/viewEvents";
|
||||
import { CommonEditorRegistry } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { VerticalRevealType } from 'vs/editor/common/view/viewEvents';
|
||||
|
||||
let EDITOR_ID = 0;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import * as platform from 'vs/base/common/platform';
|
||||
import { EditorZoom } from 'vs/editor/common/config/editorZoom';
|
||||
import { EDITOR_FONT_DEFAULTS } from "vs/editor/common/config/editorOptions";
|
||||
import { EDITOR_FONT_DEFAULTS } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
/**
|
||||
* Determined from empirical observations.
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import { Position } from 'vs/editor/common/core/position';
|
||||
import * as nls from 'vs/nls';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { IModel } from "vs/editor/common/editorCommon";
|
||||
import { IModel } from 'vs/editor/common/editorCommon';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
|
||||
export class ScreenReaderMessageGenerator {
|
||||
|
|
|
@ -23,9 +23,9 @@ import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
|
|||
import * as types from 'vs/base/common/types';
|
||||
import { ICommandHandlerDescription } from 'vs/platform/commands/common/commands';
|
||||
import { IEditorService } from 'vs/platform/editor/common/editor';
|
||||
import { TypeOperations } from "vs/editor/common/controller/cursorTypeOperations";
|
||||
import { DeleteOperations } from "vs/editor/common/controller/cursorDeleteOperations";
|
||||
import { VerticalRevealType } from "vs/editor/common/view/viewEvents";
|
||||
import { TypeOperations } from 'vs/editor/common/controller/cursorTypeOperations';
|
||||
import { DeleteOperations } from 'vs/editor/common/controller/cursorDeleteOperations';
|
||||
import { VerticalRevealType } from 'vs/editor/common/view/viewEvents';
|
||||
|
||||
const CORE_WEIGHT = KeybindingsRegistry.WEIGHT.editorCore();
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import { DeleteOperations } from 'vs/editor/common/controller/cursorDeleteOperat
|
|||
import { TypeOperations } from 'vs/editor/common/controller/cursorTypeOperations';
|
||||
import { TextModelEventType, ModelRawContentChangedEvent, RawContentChangedType } from 'vs/editor/common/model/textModelEvents';
|
||||
import { CursorChangeReason } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { IViewModel } from "vs/editor/common/viewModel/viewModel";
|
||||
import { IViewModel } from 'vs/editor/common/viewModel/viewModel';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import Event, { Emitter } from 'vs/base/common/event';
|
||||
// import { ScreenReaderMessageGenerator } from "vs/editor/common/controller/accGenerator";
|
||||
|
|
|
@ -18,7 +18,7 @@ import { IAutoClosingPair } from 'vs/editor/common/modes/languageConfiguration';
|
|||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { IViewModel } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { CursorChangeReason } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { VerticalRevealType } from "vs/editor/common/view/viewEvents";
|
||||
import { VerticalRevealType } from 'vs/editor/common/view/viewEvents';
|
||||
|
||||
export interface IColumnSelectData {
|
||||
toViewLineNumber: number;
|
||||
|
|
|
@ -10,7 +10,7 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { MoveOperations } from 'vs/editor/common/controller/cursorMoveOperations';
|
||||
import * as strings from 'vs/base/common/strings';
|
||||
import { ICommand } from "vs/editor/common/editorCommon";
|
||||
import { ICommand } from 'vs/editor/common/editorCommon';
|
||||
|
||||
export class DeleteOperations {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { LanguageConfigurationRegistry } from 'vs/editor/common/modes/languageCo
|
|||
import { IndentAction } from 'vs/editor/common/modes/languageConfiguration';
|
||||
import { SurroundSelectionCommand } from 'vs/editor/common/commands/surroundSelectionCommand';
|
||||
import { IElectricAction } from 'vs/editor/common/modes/supports/electricCharacter';
|
||||
import { getMapForWordSeparators, WordCharacterClass } from "vs/editor/common/controller/wordCharacterClassifier";
|
||||
import { getMapForWordSeparators, WordCharacterClass } from 'vs/editor/common/controller/wordCharacterClassifier';
|
||||
|
||||
export class TypeOperations {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import { SingleCursorState, CursorConfiguration, ICursorSimpleModel } from 'vs/editor/common/controller/cursorCommon';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { WordCharacterClassifier, WordCharacterClass, getMapForWordSeparators } from "vs/editor/common/controller/wordCharacterClassifier";
|
||||
import { WordCharacterClassifier, WordCharacterClass, getMapForWordSeparators } from 'vs/editor/common/controller/wordCharacterClassifier';
|
||||
import * as strings from 'vs/base/common/strings';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
|
|
|
@ -11,7 +11,7 @@ import { Range, IRange } from 'vs/editor/common/core/range';
|
|||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { ModelLine } from 'vs/editor/common/model/modelLine';
|
||||
import { guessIndentation } from 'vs/editor/common/model/indentationGuesser';
|
||||
import { EDITOR_MODEL_DEFAULTS } from "vs/editor/common/config/editorOptions";
|
||||
import { EDITOR_MODEL_DEFAULTS } from 'vs/editor/common/config/editorOptions';
|
||||
import { PrefixSumComputer } from 'vs/editor/common/viewModel/prefixSumComputer';
|
||||
import { IndentRange, computeRanges } from 'vs/editor/common/model/indentRanges';
|
||||
import { TextModelSearch, SearchParams } from 'vs/editor/common/model/textModelSearch';
|
||||
|
|
|
@ -10,7 +10,7 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { FindMatch, EndOfLinePreference } from 'vs/editor/common/editorCommon';
|
||||
import { CharCode } from 'vs/base/common/charCode';
|
||||
import { TextModel } from 'vs/editor/common/model/textModel';
|
||||
import { getMapForWordSeparators, WordCharacterClassifier, WordCharacterClass } from "vs/editor/common/controller/wordCharacterClassifier";
|
||||
import { getMapForWordSeparators, WordCharacterClassifier, WordCharacterClass } from 'vs/editor/common/controller/wordCharacterClassifier';
|
||||
|
||||
const LIMIT_FIND_COUNT = 999;
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import { IMode, LanguageIdentifier } from 'vs/editor/common/modes';
|
|||
import { IModelService } from 'vs/editor/common/services/modelService';
|
||||
import * as platform from 'vs/base/common/platform';
|
||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||
import { EDITOR_MODEL_DEFAULTS } from "vs/editor/common/config/editorOptions";
|
||||
import { EDITOR_MODEL_DEFAULTS } from 'vs/editor/common/config/editorOptions';
|
||||
import { PLAINTEXT_LANGUAGE_IDENTIFIER } from 'vs/editor/common/modes/modesRegistry';
|
||||
import { IRawTextSource, TextSource, RawTextSource } from 'vs/editor/common/model/textSource';
|
||||
import * as textModelEvents from 'vs/editor/common/model/textModelEvents';
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
'use strict';
|
||||
|
||||
import { IStandaloneThemeData } from 'vs/editor/common/services/standaloneThemeService';
|
||||
import { editorBackground, editorForeground, editorSelectionHighlight, editorInactiveSelection } from "vs/platform/theme/common/colorRegistry";
|
||||
import { editorIndentGuides } from "vs/editor/common/view/editorColorRegistry";
|
||||
import { editorBackground, editorForeground, editorSelectionHighlight, editorInactiveSelection } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { editorIndentGuides } from 'vs/editor/common/view/editorColorRegistry';
|
||||
|
||||
/* -------------------------------- Begin vs theme -------------------------------- */
|
||||
export const vs: IStandaloneThemeData = {
|
||||
|
|
|
@ -9,7 +9,7 @@ import { Selection } from 'vs/editor/common/core/selection';
|
|||
import { ScrollEvent } from 'vs/base/common/scrollable';
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import * as errors from 'vs/base/common/errors';
|
||||
import { IDisposable, Disposable } from "vs/base/common/lifecycle";
|
||||
import { IDisposable, Disposable } from 'vs/base/common/lifecycle';
|
||||
|
||||
export const enum ViewEventType {
|
||||
ViewConfigurationChanged = 1,
|
||||
|
|
|
@ -12,7 +12,7 @@ import { IViewLayout, IViewWhitespaceViewportData, Viewport } from 'vs/editor/co
|
|||
import { IPartialViewLinesViewportData } from 'vs/editor/common/viewLayout/viewLinesViewportData';
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
import Event from 'vs/base/common/event';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export class ViewLayout extends Disposable implements IViewLayout {
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { PrefixSumComputerWithCache } from 'vs/editor/common/viewModel/prefixSum
|
|||
import { ViewLineData } from 'vs/editor/common/viewModel/viewModel';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { WrappingIndent } from 'vs/editor/common/config/editorOptions';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export class OutputPosition {
|
||||
_outputPositionBrand: void;
|
||||
|
|
|
@ -11,9 +11,9 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { ViewEvent, IViewEventListener } from 'vs/editor/common/view/viewEvents';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import { Scrollable } from "vs/base/common/scrollable";
|
||||
import { IPartialViewLinesViewportData } from "vs/editor/common/viewLayout/viewLinesViewportData";
|
||||
import { IEditorWhitespace } from "vs/editor/common/viewLayout/whitespaceComputer";
|
||||
import { Scrollable } from 'vs/base/common/scrollable';
|
||||
import { IPartialViewLinesViewportData } from 'vs/editor/common/viewLayout/viewLinesViewportData';
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
|
||||
export interface IViewWhitespaceViewportData {
|
||||
readonly id: number;
|
||||
|
|
|
@ -19,7 +19,7 @@ import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
|||
import { MinimapTokensColorTracker } from 'vs/editor/common/view/minimapCharRenderer';
|
||||
import * as textModelEvents from 'vs/editor/common/model/textModelEvents';
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { CharacterHardWrappingLineMapperFactory } from "vs/editor/common/viewModel/characterHardWrappingLineMapper";
|
||||
import { CharacterHardWrappingLineMapperFactory } from 'vs/editor/common/viewModel/characterHardWrappingLineMapper';
|
||||
import { ViewLayout } from 'vs/editor/common/viewLayout/viewLayout';
|
||||
|
||||
export class CoordinatesConverter implements ICoordinatesConverter {
|
||||
|
|
|
@ -14,9 +14,9 @@ import { RunOnceScheduler } from 'vs/base/common/async';
|
|||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { editorAction, commonEditorContribution, ServicesAccessor, EditorAction } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { registerThemingParticipant } from "vs/platform/theme/common/themeService";
|
||||
import { editorBracketMatchBackground, editorBracketMatchBorder } from "vs/editor/common/view/editorColorRegistry";
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorBracketMatchBackground, editorBracketMatchBorder } from 'vs/editor/common/view/editorColorRegistry';
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
@editorAction
|
||||
class SelectBracketAction extends EditorAction {
|
||||
|
|
|
@ -22,10 +22,10 @@ import * as editorBrowser from 'vs/editor/browser/editorBrowser';
|
|||
import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
||||
import { ICodeLensData, getCodeLensData } from '../common/codelens';
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { editorCodeLensForeground } from "vs/editor/common/view/editorColorRegistry";
|
||||
import { registerThemingParticipant } from "vs/platform/theme/common/themeService";
|
||||
import { editorActiveLinkForeground } from "vs/platform/theme/common/colorRegistry";
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { editorCodeLensForeground } from 'vs/editor/common/view/editorColorRegistry';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorActiveLinkForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
|
||||
class CodeLensViewZone implements editorBrowser.IViewZone {
|
||||
|
|
|
@ -12,9 +12,9 @@ import { CommentMode } from 'vs/editor/test/common/commentMode';
|
|||
import * as modes from 'vs/editor/common/modes';
|
||||
import { NULL_STATE } from 'vs/editor/common/modes/nullMode';
|
||||
import { TokenizationResult2 } from 'vs/editor/common/core/token';
|
||||
import { MockMode } from "vs/editor/test/common/mocks/mockMode";
|
||||
import { CommentRule } from "vs/editor/common/modes/languageConfiguration";
|
||||
import { LanguageConfigurationRegistry } from "vs/editor/common/modes/languageConfigurationRegistry";
|
||||
import { MockMode } from 'vs/editor/test/common/mocks/mockMode';
|
||||
import { CommentRule } from 'vs/editor/common/modes/languageConfiguration';
|
||||
import { LanguageConfigurationRegistry } from 'vs/editor/common/modes/languageConfigurationRegistry';
|
||||
|
||||
suite('Editor Contrib - Line Comment Command', () => {
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { DragAndDropCommand } from '../common/dragAndDropCommand';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
@editorContribution
|
||||
export class DragAndDropController implements editorCommon.IEditorContribution {
|
||||
|
|
|
@ -21,7 +21,7 @@ import { RunOnceScheduler, Delayer } from 'vs/base/common/async';
|
|||
import { CursorChangeReason, ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export const enum FindStartFocusAction {
|
||||
NoFocusChange,
|
||||
|
|
|
@ -8,7 +8,7 @@ import { IDisposable } from 'vs/base/common/lifecycle';
|
|||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export class FindDecorations implements IDisposable {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export interface IFoldingRange {
|
||||
startLineNumber: number;
|
||||
|
|
|
@ -24,7 +24,7 @@ import { registerThemingParticipant } from 'vs/platform/theme/common/themeServic
|
|||
import { editorActiveLinkForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { EditorState, CodeEditorStateFlag } from 'vs/editor/common/core/editorState';
|
||||
import { DefinitionAction, DefinitionActionConfig } from './goToDeclarationCommands';
|
||||
import { ClickLinkGesture, ClickLinkMouseEvent, ClickLinkKeyboardEvent } from "vs/editor/contrib/goToDeclaration/browser/clickLinkGesture";
|
||||
import { ClickLinkGesture, ClickLinkMouseEvent, ClickLinkKeyboardEvent } from 'vs/editor/contrib/goToDeclaration/browser/clickLinkGesture';
|
||||
|
||||
@editorContribution
|
||||
class GotoDefinitionWithMouseEditorContribution implements editorCommon.IEditorContribution {
|
||||
|
|
|
@ -22,7 +22,7 @@ import { getHover } from '../common/hover';
|
|||
import { HoverOperation, IHoverComputer } from './hoverOperation';
|
||||
import { ContentHoverWidget } from './hoverWidgets';
|
||||
import { textToMarkedString, MarkedString } from 'vs/base/common/htmlContent';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
class ModesContentComputer implements IHoverComputer<Hover[]> {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import { InPlaceReplaceCommand } from './inPlaceReplaceCommand';
|
|||
import { EditorState, CodeEditorStateFlag } from 'vs/editor/common/core/editorState';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorBracketMatchBorder } from 'vs/editor/common/view/editorColorRegistry';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
@commonEditorContribution
|
||||
class InPlaceReplaceController implements IEditorContribution {
|
||||
|
|
|
@ -19,7 +19,7 @@ import { CopyLinesCommand } from './copyLinesCommand';
|
|||
import { DeleteLinesCommand } from './deleteLinesCommand';
|
||||
import { MoveLinesCommand } from './moveLinesCommand';
|
||||
import { TypeOperations } from 'vs/editor/common/controller/cursorTypeOperations';
|
||||
import { CoreEditingCommands } from "vs/editor/common/controller/coreCommands";
|
||||
import { CoreEditingCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
// copy lines
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { Handler, IModel, DefaultEndOfLine } from 'vs/editor/common/editorCommon';
|
||||
import { withMockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
import { DeleteAllLeftAction, JoinLinesAction, TransposeAction, UpperCaseAction, LowerCaseAction, DeleteAllRightAction, InsertLineBeforeAction, InsertLineAfterAction, IndentLinesAction } from 'vs/editor/contrib/linesOperations/common/linesOperations';
|
||||
import { Cursor } from "vs/editor/common/controller/cursor";
|
||||
import { Model } from "vs/editor/common/model/model";
|
||||
import { CoreEditingCommands } from "vs/editor/common/controller/coreCommands";
|
||||
import { Cursor } from 'vs/editor/common/controller/cursor';
|
||||
import { Model } from 'vs/editor/common/model/model';
|
||||
import { CoreEditingCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
suite('Editor Contrib - Line Operations', () => {
|
||||
suite('DeleteAllLeftAction', () => {
|
||||
|
|
|
@ -24,8 +24,8 @@ import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
|||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorActiveLinkForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ClickLinkGesture, ClickLinkMouseEvent, ClickLinkKeyboardEvent } from "vs/editor/contrib/goToDeclaration/browser/clickLinkGesture";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
import { ClickLinkGesture, ClickLinkMouseEvent, ClickLinkKeyboardEvent } from 'vs/editor/contrib/goToDeclaration/browser/clickLinkGesture';
|
||||
|
||||
const HOVER_MESSAGE_GENERAL_META = (
|
||||
platform.isMacintosh
|
||||
|
|
|
@ -14,7 +14,7 @@ import { Selection } from 'vs/editor/common/core/selection';
|
|||
import { IActionOptions, EditorAction } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export interface IQuickOpenControllerOpts {
|
||||
inputAriaLabel: string;
|
||||
|
|
|
@ -43,8 +43,8 @@ import { registerThemingParticipant, ITheme, IThemeService } from 'vs/platform/t
|
|||
import { attachListStyler, attachBadgeStyler } from 'vs/platform/theme/common/styler';
|
||||
import { IModelDecorationsChangedEvent } from 'vs/editor/common/model/textModelEvents';
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
import { IEnvironmentService } from "vs/platform/environment/common/environment";
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
class DecorationsManager implements IDisposable {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { IPosition } from 'vs/editor/common/core/position';
|
|||
import { groupBy } from 'vs/base/common/arrays';
|
||||
import { dispose } from 'vs/base/common/lifecycle';
|
||||
import { EditorSnippetVariableResolver } from "./snippetVariables";
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export class OneSnippet {
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ import { Selection } from 'vs/editor/common/core/selection';
|
|||
import { SnippetController2 } from 'vs/editor/contrib/snippet/browser/snippetController2';
|
||||
import { MockCodeEditor, withMockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
import { Cursor } from 'vs/editor/common/controller/cursor';
|
||||
import { IContextKeyService } from "vs/platform/contextkey/common/contextkey";
|
||||
import { ICommonCodeEditor } from "vs/editor/common/editorCommon";
|
||||
import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey';
|
||||
import { ICommonCodeEditor } from 'vs/editor/common/editorCommon';
|
||||
|
||||
class TestSnippetController extends SnippetController2 {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import { Selection } from 'vs/editor/common/core/selection';
|
|||
import { SnippetController2 } from 'vs/editor/contrib/snippet/browser/snippetController2';
|
||||
import { ICommonCodeEditor } from 'vs/editor/common/editorCommon';
|
||||
import { mockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
import { Model } from "vs/editor/common/model/model";
|
||||
import { Model } from 'vs/editor/common/model/model';
|
||||
import { MockContextKeyService } from 'vs/platform/keybinding/test/common/mockKeybindingService';
|
||||
|
||||
suite('SnippetController2', function () {
|
||||
|
|
|
@ -11,7 +11,7 @@ import { IPosition, Position } from 'vs/editor/common/core/position';
|
|||
import { SnippetSession } from 'vs/editor/contrib/snippet/browser/snippetSession';
|
||||
import { ICommonCodeEditor } from 'vs/editor/common/editorCommon';
|
||||
import { mockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
import { Model } from "vs/editor/common/model/model";
|
||||
import { Model } from 'vs/editor/common/model/model';
|
||||
|
||||
suite('SnippetSession', function () {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { registerColor, editorSelectionHighlight, activeContrastBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { CursorChangeReason, ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export const editorWordHighlight = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hc: null }, nls.localize('wordHighlight', 'Background color of a symbol during read-access, like reading a variable.'));
|
||||
export const editorWordHighlightStrong = registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hc: null }, nls.localize('wordHighlightStrong', 'Background color of a symbol during write-access, like writing to a variable.'));
|
||||
|
|
|
@ -14,9 +14,9 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { WordNavigationType, WordOperations } from 'vs/editor/common/controller/cursorWordOperations';
|
||||
import { ReplaceCommand } from 'vs/editor/common/commands/replaceCommand';
|
||||
import { getMapForWordSeparators, WordCharacterClassifier } from "vs/editor/common/controller/wordCharacterClassifier";
|
||||
import { CursorState } from "vs/editor/common/controller/cursorCommon";
|
||||
import { CursorChangeReason } from "vs/editor/common/controller/cursorEvents";
|
||||
import { getMapForWordSeparators, WordCharacterClassifier } from 'vs/editor/common/controller/wordCharacterClassifier';
|
||||
import { CursorState } from 'vs/editor/common/controller/cursorCommon';
|
||||
import { CursorChangeReason } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export interface MoveWordOptions extends ICommandOptions {
|
||||
inSelectionMode: boolean;
|
||||
|
|
|
@ -17,7 +17,7 @@ import {
|
|||
DeleteWordLeft, DeleteWordStartLeft, DeleteWordEndLeft,
|
||||
DeleteWordRight, DeleteWordStartRight, DeleteWordEndRight
|
||||
} from 'vs/editor/contrib/wordOperations/common/wordOperations';
|
||||
import { EditorCommand } from "vs/editor/common/editorCommonExtensions";
|
||||
import { EditorCommand } from 'vs/editor/common/editorCommonExtensions';
|
||||
|
||||
suite('WordOperations', () => {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { ICodeEditor, IOverlayWidget, IOverlayWidgetPosition, IViewZone, IViewZo
|
|||
import { Color, RGBA } from 'vs/base/common/color';
|
||||
import { EditorLayoutInfo } from 'vs/editor/common/config/editorOptions';
|
||||
import { Position, IPosition } from 'vs/editor/common/core/position';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export interface IOptions {
|
||||
showFrame?: boolean;
|
||||
|
|
|
@ -14,7 +14,7 @@ import 'vs/editor/contrib/inspectTokens/browser/inspectTokens';
|
|||
import { createMonacoBaseAPI } from 'vs/editor/common/standalone/standaloneBase';
|
||||
import { createMonacoEditorAPI } from 'vs/editor/browser/standalone/standaloneEditor';
|
||||
import { createMonacoLanguagesAPI } from 'vs/editor/browser/standalone/standaloneLanguages';
|
||||
import { EDITOR_DEFAULTS, WrappingIndent } from "vs/editor/common/config/editorOptions";
|
||||
import { EDITOR_DEFAULTS, WrappingIndent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
// Set defaults for standalone editor
|
||||
(<any>EDITOR_DEFAULTS).wrappingIndent = WrappingIndent.None;
|
||||
|
|
|
@ -9,7 +9,7 @@ import { ISimpleModel, TextAreaState, ITextAreaWrapper, PagedScreenReaderStrateg
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { EndOfLinePreference } from 'vs/editor/common/editorCommon';
|
||||
import { Disposable } from 'vs/base/common/lifecycle';
|
||||
import { Model } from "vs/editor/common/model/model";
|
||||
import { Model } from 'vs/editor/common/model/model';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
|
||||
export class MockTextAreaWrapper extends Disposable implements ITextAreaWrapper {
|
||||
|
|
|
@ -10,7 +10,7 @@ import { Selection } from 'vs/editor/common/core/selection';
|
|||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { Model } from 'vs/editor/common/model/model';
|
||||
import { LanguageIdentifier } from 'vs/editor/common/modes';
|
||||
import { withMockCodeEditor } from "vs/editor/test/common/mocks/mockCodeEditor";
|
||||
import { withMockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
|
||||
export function testCommand(
|
||||
lines: string[],
|
||||
|
|
|
@ -11,7 +11,7 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { IIdentifiedSingleEditOperation } from 'vs/editor/common/editorCommon';
|
||||
import { ILineEdit, ModelLine, LineMarker, MarkersTracker } from 'vs/editor/common/model/modelLine';
|
||||
import { withMockCodeEditor } from "vs/editor/test/common/mocks/mockCodeEditor";
|
||||
import { withMockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
|
||||
const NO_TAB_SIZE = 0;
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
import * as assert from 'assert';
|
||||
import { EditorZoom } from 'vs/editor/common/config/editorZoom';
|
||||
import { TestConfiguration } from 'vs/editor/test/common/mocks/testConfiguration';
|
||||
import { IEnvConfiguration } from "vs/editor/common/config/commonEditorConfig";
|
||||
import { AccessibilitySupport } from "vs/base/common/platform";
|
||||
import { IEnvConfiguration } from 'vs/editor/common/config/commonEditorConfig';
|
||||
import { AccessibilitySupport } from 'vs/base/common/platform';
|
||||
|
||||
suite('Common Editor Config', () => {
|
||||
test('Zoom Level', () => {
|
||||
|
|
|
@ -23,15 +23,15 @@ import { MockMode } from 'vs/editor/test/common/mocks/mockMode';
|
|||
import { LanguageIdentifier } from 'vs/editor/common/modes';
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
import { CoreNavigationCommands, CoreEditingCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
import { withMockCodeEditor, MockCodeEditor } from "vs/editor/test/common/mocks/mockCodeEditor";
|
||||
import { TextModel } from "vs/editor/common/model/textModel";
|
||||
import { ViewModel } from "vs/editor/common/viewModel/viewModelImpl";
|
||||
import { withMockCodeEditor, MockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
import { TextModel } from 'vs/editor/common/model/textModel';
|
||||
import { ViewModel } from 'vs/editor/common/viewModel/viewModelImpl';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { ScreenReaderMessageGenerator } from "vs/editor/common/controller/accGenerator";
|
||||
import { ScreenReaderMessageGenerator } from 'vs/editor/common/controller/accGenerator';
|
||||
import {
|
||||
CursorWordLeft, CursorWordLeftSelect, CursorWordRight, CursorWordRightSelect
|
||||
} from 'vs/editor/contrib/wordOperations/common/wordOperations';
|
||||
import { EditorCommand } from "vs/editor/common/editorCommonExtensions";
|
||||
import { EditorCommand } from 'vs/editor/common/editorCommonExtensions';
|
||||
let H = Handler;
|
||||
|
||||
// --------- utils
|
||||
|
|
|
@ -13,7 +13,7 @@ import { CursorMove } from 'vs/editor/common/controller/cursorMoveCommands';
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { CoreNavigationCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
import { ViewModel } from "vs/editor/common/viewModel/viewModelImpl";
|
||||
import { ViewModel } from 'vs/editor/common/viewModel/viewModelImpl';
|
||||
|
||||
suite('Cursor move command test', () => {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
import { CommonEditorConfiguration, IEnvConfiguration } from 'vs/editor/common/config/commonEditorConfig';
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
import { FontInfo, BareFontInfo } from 'vs/editor/common/config/fontInfo';
|
||||
import { AccessibilitySupport } from "vs/base/common/platform";
|
||||
import { AccessibilitySupport } from 'vs/base/common/platform';
|
||||
|
||||
export class TestConfiguration extends CommonEditorConfiguration {
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ import { FindMatch, EndOfLineSequence } from 'vs/editor/common/editorCommon';
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { TextModel } from 'vs/editor/common/model/textModel';
|
||||
import { TextModelSearch, SearchParams, SearchData } from 'vs/editor/common/model/textModelSearch';
|
||||
import { getMapForWordSeparators } from "vs/editor/common/controller/wordCharacterClassifier";
|
||||
import { USUAL_WORD_SEPARATORS } from "vs/editor/common/model/wordHelper";
|
||||
import { getMapForWordSeparators } from 'vs/editor/common/controller/wordCharacterClassifier';
|
||||
import { USUAL_WORD_SEPARATORS } from 'vs/editor/common/model/wordHelper';
|
||||
|
||||
// --------- Find
|
||||
suite('TextModelSearch', () => {
|
||||
|
|
|
@ -36,7 +36,7 @@ import { IProgressService } from 'vs/platform/progress/common/progress';
|
|||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { attachProgressBarStyler } from "vs/platform/theme/common/styler";
|
||||
import { attachProgressBarStyler } from 'vs/platform/theme/common/styler';
|
||||
|
||||
export interface ICompositeTitleLabel {
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import { getCodeEditor } from 'vs/editor/common/services/codeEditorService';
|
|||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { editorBackground, contrastBorder, activeContrastBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { Themable, EDITOR_GROUP_HEADER_TABS_BACKGROUND, EDITOR_GROUP_HEADER_NO_TABS_BACKGROUND, EDITOR_GROUP_BORDER, EDITOR_DRAG_AND_DROP_BACKGROUND, EDITOR_GROUP_BACKGROUND, EDITOR_GROUP_HEADER_TABS_BORDER } from 'vs/workbench/common/theme';
|
||||
import { attachProgressBarStyler } from "vs/platform/theme/common/styler";
|
||||
import { attachProgressBarStyler } from 'vs/platform/theme/common/styler';
|
||||
|
||||
export enum Rochade {
|
||||
NONE,
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
'use strict';
|
||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { BaseEditor } from "vs/workbench/browser/parts/editor/baseEditor";
|
||||
import URI from "vs/base/common/uri";
|
||||
import { IStorageService } from "vs/platform/storage/common/storage";
|
||||
import { Scope } from "vs/workbench/common/memento";
|
||||
import { BaseEditor } from 'vs/workbench/browser/parts/editor/baseEditor';
|
||||
import URI from 'vs/base/common/uri';
|
||||
import { IStorageService } from 'vs/platform/storage/common/storage';
|
||||
import { Scope } from 'vs/workbench/common/memento';
|
||||
|
||||
export interface HtmlPreviewEditorViewState {
|
||||
scrollYPercentage: number;
|
||||
|
|
|
@ -30,7 +30,7 @@ import { IThemeService, registerThemingParticipant, ITheme, ICssStyleCollector }
|
|||
import { STATUS_BAR_BACKGROUND, STATUS_BAR_FOREGROUND, STATUS_BAR_NO_FOLDER_BACKGROUND, STATUS_BAR_ITEM_HOVER_BACKGROUND, STATUS_BAR_ITEM_ACTIVE_BACKGROUND, STATUS_BAR_PROMINENT_ITEM_BACKGROUND, STATUS_BAR_PROMINENT_ITEM_HOVER_BACKGROUND, STATUS_BAR_BORDER, STATUS_BAR_NO_FOLDER_FOREGROUND } from 'vs/workbench/common/theme';
|
||||
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
||||
import { contrastBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { isThemeColor } from "vs/editor/common/editorCommon";
|
||||
import { isThemeColor } from 'vs/editor/common/editorCommon';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
export class StatusbarPart extends Part implements IStatusbarService {
|
||||
|
|
|
@ -12,7 +12,7 @@ import { toResource } from 'vs/workbench/common/editor';
|
|||
import { isEqual } from 'vs/platform/files/common/files';
|
||||
import { IRange } from 'vs/editor/common/core/range';
|
||||
import { CursorChangeReason, ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export interface IRangeHighlightDecoration {
|
||||
resource: URI;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
import 'vs/css!./media/workbench';
|
||||
|
||||
import { localize } from 'vs/nls';
|
||||
import { TPromise, ValueCallback } from 'vs/base/common/winjs.base';
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import Event, { Emitter, chain } from 'vs/base/common/event';
|
||||
|
@ -91,11 +92,10 @@ import { IContextMenuService } from 'vs/platform/contextview/browser/contextView
|
|||
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
|
||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { IWindowConfiguration } from 'vs/workbench/electron-browser/common';
|
||||
import { localize } from "vs/nls";
|
||||
import { IWorkbenchActionRegistry, Extensions } from "vs/workbench/common/actionRegistry";
|
||||
import { IWorkbenchActionRegistry, Extensions } from 'vs/workbench/common/actionRegistry';
|
||||
import { OpenRecentAction, ToggleDevToolsAction, ReloadWindowAction } from "vs/workbench/electron-browser/actions";
|
||||
import { KeyMod } from "vs/base/common/keyCodes";
|
||||
import { KeyCode } from "vs/editor/common/standalone/standaloneBase";
|
||||
import { KeyMod } from 'vs/base/common/keyCodes';
|
||||
import { KeyCode } from 'vs/editor/common/standalone/standaloneBase';
|
||||
|
||||
export const MessagesVisibleContext = new RawContextKey<boolean>('globalMessageVisible', false);
|
||||
export const EditorsVisibleContext = new RawContextKey<boolean>('editorIsOpen', false);
|
||||
|
|
|
@ -18,7 +18,7 @@ import Types = require('vs/base/common/types');
|
|||
import { isValidExtensionDescription } from 'vs/platform/extensions/node/extensionValidator';
|
||||
import * as semver from 'semver';
|
||||
import { getIdAndVersionFromLocalExtensionId } from 'vs/platform/extensionManagement/common/extensionManagementUtil';
|
||||
import { getParseErrorMessage } from "vs/base/common/jsonErrorMessages";
|
||||
import { getParseErrorMessage } from 'vs/base/common/jsonErrorMessages';
|
||||
|
||||
const MANIFEST_FILE = 'package.json';
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ import { IDebugService } from 'vs/workbench/parts/debug/common/debug';
|
|||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { attachSelectBoxStyler, attachStylerCallback } from 'vs/platform/theme/common/styler';
|
||||
import { SIDE_BAR_BACKGROUND } from 'vs/workbench/common/theme';
|
||||
import { selectBorder } from "vs/platform/theme/common/colorRegistry";
|
||||
import { selectBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
const $ = dom.$;
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@ import { ICodeEditor } from 'vs/editor/browser/editorBrowser';
|
|||
import { IContextViewService } from 'vs/platform/contextview/browser/contextView';
|
||||
import { IDebugService, IExceptionInfo } from 'vs/workbench/parts/debug/common/debug';
|
||||
import { RunOnceScheduler } from 'vs/base/common/async';
|
||||
import { IThemeService, ITheme } from "vs/platform/theme/common/themeService";
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { registerColor } from "vs/platform/theme/common/colorRegistry";
|
||||
import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { registerColor } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { LinkDetector } from 'vs/workbench/parts/debug/browser/linkDetector';
|
||||
const $ = dom.$;
|
||||
|
|
|
@ -37,7 +37,7 @@ import { FloatingClickWidget } from 'vs/workbench/parts/preferences/browser/pref
|
|||
import { IListService } from 'vs/platform/list/browser/listService';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { CoreEditingCommands } from "vs/editor/common/controller/coreCommands";
|
||||
import { CoreEditingCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
const HOVER_DELAY = 300;
|
||||
const LAUNCH_JSON_REGEX = /launch\.json$/;
|
||||
|
|
|
@ -23,7 +23,7 @@ import { VariablesRenderer, renderExpressionValue, VariablesDataSource } from 'v
|
|||
import { IListService } from 'vs/platform/list/browser/listService';
|
||||
import { attachListStyler, attachStylerCallback } from 'vs/platform/theme/common/styler';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { editorHoverBackground, editorHoverBorder } from "vs/platform/theme/common/colorRegistry";
|
||||
import { editorHoverBackground, editorHoverBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
const $ = dom.$;
|
||||
const MAX_ELEMENTS_SHOWN = 18;
|
||||
|
|
|
@ -11,7 +11,7 @@ import { IPartService, Parts } from 'vs/workbench/services/part/common/partServi
|
|||
import { IDebugService, State } from 'vs/workbench/parts/debug/common/debug';
|
||||
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
||||
import { STATUS_BAR_NO_FOLDER_BACKGROUND, STATUS_BAR_NO_FOLDER_FOREGROUND, STATUS_BAR_BACKGROUND, Themable, STATUS_BAR_FOREGROUND } from 'vs/workbench/common/theme';
|
||||
import { addClass, removeClass } from "vs/base/browser/dom";
|
||||
import { addClass, removeClass } from 'vs/base/browser/dom';
|
||||
|
||||
// colors for theming
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { BasicEmmetEditorAction } from 'vs/workbench/parts/emmet/electron-browse
|
|||
import { editorAction } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { ICommonCodeEditor } from 'vs/editor/common/editorCommon';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { CoreEditingCommands } from "vs/editor/common/controller/coreCommands";
|
||||
import { CoreEditingCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
import { KeyCode } from 'vs/base/common/keyCodes';
|
||||
import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
|
||||
|
|
|
@ -11,7 +11,7 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { SnippetController2 } from 'vs/editor/contrib/snippet/browser/snippetController2';
|
||||
import { LanguageId, LanguageIdentifier } from 'vs/editor/common/modes';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { CoreEditingCommands } from "vs/editor/common/controller/coreCommands";
|
||||
import { CoreEditingCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
import { SnippetParser, walk, Placeholder, Variable, Text, Marker } from 'vs/editor/contrib/snippet/browser/snippetParser';
|
||||
|
||||
import emmet = require('emmet');
|
||||
|
|
|
@ -32,9 +32,9 @@ import { IExtensionService, IExtensionDescription } from 'vs/platform/extensions
|
|||
import URI from 'vs/base/common/uri';
|
||||
import { CommandsRegistry } from 'vs/platform/commands/common/commands';
|
||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||
import { registerThemingParticipant, ITheme, ICssStyleCollector } from "vs/platform/theme/common/themeService";
|
||||
import { buttonBackground, buttonForeground, buttonHoverBackground, contrastBorder, registerColor, foreground } from "vs/platform/theme/common/colorRegistry";
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { registerThemingParticipant, ITheme, ICssStyleCollector } from 'vs/platform/theme/common/themeService';
|
||||
import { buttonBackground, buttonForeground, buttonHoverBackground, contrastBorder, registerColor, foreground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
export class InstallAction extends Action {
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@ import * as dom from 'vs/base/browser/dom';
|
|||
import { ICommandService } from 'vs/platform/commands/common/commands';
|
||||
import * as errors from 'vs/base/common/errors';
|
||||
import { IIntegrityService } from 'vs/platform/integrity/common/integrity';
|
||||
import { IThemeService, registerThemingParticipant, ITheme, ICssStyleCollector } from "vs/platform/theme/common/themeService";
|
||||
import { attachStylerCallback } from "vs/platform/theme/common/styler";
|
||||
import { editorWidgetBackground, widgetShadow, inputBorder, inputForeground, inputBackground, inputActiveOptionBorder, editorBackground, buttonBackground, contrastBorder } from "vs/platform/theme/common/colorRegistry";
|
||||
import { IThemeService, registerThemingParticipant, ITheme, ICssStyleCollector } from 'vs/platform/theme/common/themeService';
|
||||
import { attachStylerCallback } from 'vs/platform/theme/common/styler';
|
||||
import { editorWidgetBackground, widgetShadow, inputBorder, inputForeground, inputBackground, inputActiveOptionBorder, editorBackground, buttonBackground, contrastBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
export interface IFeedback {
|
||||
feedback: string;
|
||||
|
|
|
@ -13,7 +13,7 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti
|
|||
import product from 'vs/platform/node/product';
|
||||
import { Themable, STATUS_BAR_FOREGROUND, STATUS_BAR_NO_FOLDER_FOREGROUND } from 'vs/workbench/common/theme';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { IWorkspaceContextService } from "vs/platform/workspace/common/workspace";
|
||||
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
||||
|
||||
class TwitterFeedbackService implements IFeedbackService {
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import { IListService } from 'vs/platform/list/browser/listService';
|
|||
import { EditorGroup } from 'vs/workbench/common/editor/editorStacksModel';
|
||||
import { attachListStyler, attachStylerCallback } from 'vs/platform/theme/common/styler';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { badgeBackground, badgeForeground, contrastBorder } from "vs/platform/theme/common/colorRegistry";
|
||||
import { badgeBackground, badgeForeground, contrastBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
const $ = dom.$;
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@ import { IMarker } from 'vs/platform/markers/common/markers';
|
|||
import { MarkersModel, Resource, Marker } from 'vs/workbench/parts/markers/common/markersModel';
|
||||
import Messages from 'vs/workbench/parts/markers/common/messages';
|
||||
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { attachBadgeStyler } from "vs/platform/theme/common/styler";
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { IDisposable } from "vs/base/common/lifecycle";
|
||||
import { attachBadgeStyler } from 'vs/platform/theme/common/styler';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
|
||||
interface IAnyResourceTemplateData {
|
||||
count: CountBadge;
|
||||
|
|
|
@ -23,7 +23,7 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti
|
|||
import { ICodeEditor, IOverlayWidget, IOverlayWidgetPosition } from 'vs/editor/browser/editorBrowser';
|
||||
import { attachInputBoxStyler, attachStylerCallback } from 'vs/platform/theme/common/styler';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { editorWidgetBackground, widgetShadow } from "vs/platform/theme/common/colorRegistry";
|
||||
import { editorWidgetBackground, widgetShadow } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
class KeybindingInputWidget extends Widget {
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ import { IChoiceService, IMessageService, Severity } from 'vs/platform/message/c
|
|||
import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { KeyCode, ResolvedKeybinding } from 'vs/base/common/keyCodes';
|
||||
import { attachListStyler } from 'vs/platform/theme/common/styler';
|
||||
import { listHighlightForeground } from "vs/platform/theme/common/colorRegistry";
|
||||
import { listHighlightForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
let $ = DOM.$;
|
||||
|
||||
|
|
|
@ -53,8 +53,8 @@ import { FindController } from 'vs/editor/contrib/find/browser/find';
|
|||
import { SelectionHighlighter } from 'vs/editor/contrib/find/common/findController';
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
import { KeybindingsRegistry } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
||||
import { attachStylerCallback } from "vs/platform/theme/common/styler";
|
||||
import { scrollbarShadow } from "vs/platform/theme/common/colorRegistry";
|
||||
import { attachStylerCallback } from 'vs/platform/theme/common/styler';
|
||||
import { scrollbarShadow } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
export class PreferencesEditorInput extends SideBySideEditorInput {
|
||||
public static ID: string = 'workbench.editorinputs.preferencesEditorInput';
|
||||
|
|
|
@ -32,7 +32,7 @@ import { IWorkspaceConfigurationService } from 'vs/workbench/services/configurat
|
|||
import { IMessageService, Severity } from 'vs/platform/message/common/message';
|
||||
import { IWorkbenchEditorService } from 'vs/workbench/services/editor/common/editorService';
|
||||
import { ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export interface IPreferencesRenderer<T> extends IDisposable {
|
||||
preferencesModel: IPreferencesEditorModel<T>;
|
||||
|
|
|
@ -27,7 +27,7 @@ import { attachInputBoxStyler, attachStylerCallback } from 'vs/platform/theme/co
|
|||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { buttonBackground, buttonForeground, badgeForeground, badgeBackground, contrastBorder, errorForeground } from "vs/platform/theme/common/colorRegistry";
|
||||
import { buttonBackground, buttonForeground, badgeForeground, badgeBackground, contrastBorder, errorForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
export class SettingsGroupTitleWidget extends Widget implements IViewZone {
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import { IMessageService, Severity, IMessageWithAction } from 'vs/platform/messa
|
|||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
|
||||
import { IQuickOpenService } from 'vs/platform/quickOpen/common/quickOpen';
|
||||
import { editorAction, EditorAction } from "vs/editor/common/editorCommonExtensions";
|
||||
import { editorAction, EditorAction } from 'vs/editor/common/editorCommonExtensions';
|
||||
|
||||
export const ALL_COMMANDS_PREFIX = '>';
|
||||
export const EDITOR_COMMANDS_PREFIX = '$';
|
||||
|
|
|
@ -22,11 +22,11 @@ import { IEditorWorkerService } from 'vs/editor/common/services/editorWorkerServ
|
|||
import URI from 'vs/base/common/uri';
|
||||
import { IEditorGroupService } from 'vs/workbench/services/group/common/groupService';
|
||||
import { ISCMService } from 'vs/workbench/services/scm/common/scm';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { registerThemingParticipant, ITheme, ICssStyleCollector } from "vs/platform/theme/common/themeService";
|
||||
import { registerColor } from "vs/platform/theme/common/colorRegistry";
|
||||
import { localize } from "vs/nls";
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
import { registerThemingParticipant, ITheme, ICssStyleCollector } from 'vs/platform/theme/common/themeService';
|
||||
import { registerColor } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { localize } from 'vs/nls';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
class DirtyDiffModelDecorator {
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ import { IQueryOptions, ISearchService, ISearchStats, ISearchQuery } from 'vs/pl
|
|||
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
||||
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
|
||||
import { IRange } from 'vs/editor/common/core/range';
|
||||
import { getOutOfWorkspaceEditorResources } from "vs/workbench/parts/search/common/search";
|
||||
import { getOutOfWorkspaceEditorResources } from 'vs/workbench/parts/search/common/search';
|
||||
|
||||
export class FileQuickOpenModel extends QuickOpenModel {
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { SearchViewlet } from 'vs/workbench/parts/search/browser/searchViewlet';
|
||||
import { RemoveAction, ReplaceAllAction, ReplaceAction } from 'vs/workbench/parts/search/browser/searchActions';
|
||||
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { attachBadgeStyler } from "vs/platform/theme/common/styler";
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { attachBadgeStyler } from 'vs/platform/theme/common/styler';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
|
||||
export class SearchDataSource implements IDataSource {
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ import FileResultsNavigation from 'vs/workbench/browser/fileResultsNavigation';
|
|||
import { attachListStyler } from 'vs/platform/theme/common/styler';
|
||||
import { IOutputService } from 'vs/workbench/parts/output/common/output';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { getOutOfWorkspaceEditorResources } from "vs/workbench/parts/search/common/search";
|
||||
import { getOutOfWorkspaceEditorResources } from 'vs/workbench/parts/search/common/search';
|
||||
|
||||
export class SearchViewlet extends Viewlet {
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@ import { CommonEditorRegistry } from 'vs/editor/common/editorCommonExtensions';
|
|||
import { ISearchConfiguration } from 'vs/platform/search/common/search';
|
||||
import glob = require('vs/base/common/glob');
|
||||
import { SymbolInformation } from 'vs/editor/common/modes';
|
||||
import { IEditorGroupService } from "vs/workbench/services/group/common/groupService";
|
||||
import { IWorkspaceContextService } from "vs/platform/workspace/common/workspace";
|
||||
import URI from "vs/base/common/uri";
|
||||
import { toResource } from "vs/workbench/common/editor";
|
||||
import { IEditorGroupService } from 'vs/workbench/services/group/common/groupService';
|
||||
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
|
||||
import URI from 'vs/base/common/uri';
|
||||
import { toResource } from 'vs/workbench/common/editor';
|
||||
|
||||
export interface IWorkspaceSymbolProvider {
|
||||
provideWorkspaceSymbols(search: string): TPromise<SymbolInformation[]>;
|
||||
|
|
|
@ -24,7 +24,7 @@ import { IModelService } from 'vs/editor/common/services/modelService';
|
|||
import { IReplaceService } from 'vs/workbench/parts/search/common/replace';
|
||||
import { IProgressRunner } from 'vs/platform/progress/common/progress';
|
||||
import { RangeHighlightDecorations } from 'vs/workbench/common/editor/rangeDecorations';
|
||||
import { ModelDecorationOptions } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ModelDecorationOptions } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
export class Match {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { IModeService } from 'vs/editor/common/services/modeService';
|
|||
import { languagesExtPoint } from 'vs/editor/common/services/modeServiceImpl';
|
||||
import { LanguageIdentifier } from 'vs/editor/common/modes';
|
||||
import { SnippetParser, Marker, Placeholder, Variable, Text, walk } from 'vs/editor/contrib/snippet/browser/snippetParser';
|
||||
import { EditorSnippetVariableResolver } from "vs/editor/contrib/snippet/browser/snippetVariables";
|
||||
import { EditorSnippetVariableResolver } from 'vs/editor/contrib/snippet/browser/snippetVariables';
|
||||
|
||||
interface ISnippetsExtensionPoint {
|
||||
language: string;
|
||||
|
|
|
@ -27,7 +27,7 @@ import { ToggleTabFocusModeAction } from 'vs/editor/contrib/toggleTabFocusMode/c
|
|||
import { registerSingleton } from 'vs/platform/instantiation/common/extensions';
|
||||
import { KeybindingsRegistry } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
||||
import { OpenNextRecentlyUsedEditorInGroupAction, OpenPreviousRecentlyUsedEditorInGroupAction, FocusActiveGroupAction, FocusFirstGroupAction, FocusSecondGroupAction, FocusThirdGroupAction } from 'vs/workbench/browser/parts/editor/editorActions';
|
||||
import { EDITOR_FONT_DEFAULTS } from "vs/editor/common/config/editorOptions";
|
||||
import { EDITOR_FONT_DEFAULTS } from 'vs/editor/common/config/editorOptions';
|
||||
import { registerColors } from './terminalColorRegistry';
|
||||
|
||||
let configurationRegistry = <IConfigurationRegistry>Registry.as(Extensions.Configuration);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue