mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
More plugin -> extension
This commit is contained in:
@@ -20,7 +20,7 @@ interface CommandHandler {
|
||||
description: ICommandHandlerDescription;
|
||||
}
|
||||
|
||||
@Remotable.PluginHostContext('ExtHostCommands')
|
||||
@Remotable.ExtHostContext('ExtHostCommands')
|
||||
export class ExtHostCommands {
|
||||
|
||||
private _commands: { [n: string]: CommandHandler } = Object.create(null);
|
||||
|
||||
@@ -11,7 +11,7 @@ import {IConfigurationService, ConfigurationServiceEventTypes, IConfigurationSer
|
||||
import Event, {Emitter} from 'vs/base/common/event';
|
||||
import {WorkspaceConfiguration} from 'vscode';
|
||||
|
||||
@Remotable.PluginHostContext('ExtHostConfiguration')
|
||||
@Remotable.ExtHostContext('ExtHostConfiguration')
|
||||
export class ExtHostConfiguration {
|
||||
|
||||
private _config: any;
|
||||
|
||||
@@ -49,7 +49,7 @@ export function getWordDefinitionFor(modeId: string): RegExp {
|
||||
return _modeId2WordDefinition[modeId];
|
||||
}
|
||||
|
||||
@Remotable.PluginHostContext('ExtHostModelService')
|
||||
@Remotable.ExtHostContext('ExtHostModelService')
|
||||
export class ExtHostModelService {
|
||||
|
||||
private static _handlePool: number = 0;
|
||||
|
||||
@@ -37,7 +37,7 @@ export interface ITextEditorPositionData {
|
||||
[id: string]: EditorPosition;
|
||||
}
|
||||
|
||||
@Remotable.PluginHostContext('ExtHostEditors')
|
||||
@Remotable.ExtHostContext('ExtHostEditors')
|
||||
export class ExtHostEditors {
|
||||
|
||||
public onDidChangeTextEditorSelection: Event<TextEditorSelectionChangeEvent>;
|
||||
|
||||
@@ -97,7 +97,7 @@ export class FileSystemWatcher implements _FileSystemWatcher {
|
||||
}
|
||||
}
|
||||
|
||||
@Remotable.PluginHostContext('ExtHostFileSystemEventService')
|
||||
@Remotable.ExtHostContext('ExtHostFileSystemEventService')
|
||||
export class ExtHostFileSystemEventService {
|
||||
|
||||
private _emitter = new Emitter<FileSystemEvents>();
|
||||
|
||||
@@ -629,7 +629,7 @@ type Adapter = OutlineAdapter | CodeLensAdapter | DeclarationAdapter | ExtraInfo
|
||||
| RangeFormattingAdapter | OnTypeFormattingAdapter | NavigateTypeAdapter | RenameAdapter
|
||||
| SuggestAdapter | ParameterHintsAdapter;
|
||||
|
||||
@Remotable.PluginHostContext('ExtHostLanguageFeatures')
|
||||
@Remotable.ExtHostContext('ExtHostLanguageFeatures')
|
||||
export class ExtHostLanguageFeatures {
|
||||
|
||||
private static _handlePool: number = 0;
|
||||
|
||||
@@ -15,7 +15,7 @@ export interface MyQuickPickItems extends IPickOpenEntry {
|
||||
|
||||
export type Item = string | QuickPickItem;
|
||||
|
||||
@Remotable.PluginHostContext('ExtHostQuickOpen')
|
||||
@Remotable.ExtHostContext('ExtHostQuickOpen')
|
||||
export class ExtHostQuickOpen {
|
||||
|
||||
private _proxy: MainThreadQuickOpen;
|
||||
|
||||
Reference in New Issue
Block a user