mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
💄 registerApiCommand
This commit is contained in:
@@ -18,8 +18,14 @@ import {IQuickFix2} from 'vs/editor/contrib/quickFix/common/quickFix';
|
||||
import {IOutline} from 'vs/editor/contrib/quickOpen/common/quickOpen';
|
||||
import {ITypeBearing} from 'vs/workbench/parts/search/common/search';
|
||||
import {ICodeLensData} from 'vs/editor/contrib/codelens/common/codelens';
|
||||
import {IThreadService} from 'vs/platform/thread/common/thread';
|
||||
|
||||
export class ExtHostApiCommands {
|
||||
export function registerApiCommands(threadService: IThreadService) {
|
||||
const commands = threadService.getRemotable(ExtHostCommands);
|
||||
new ExtHostApiCommands(commands);
|
||||
}
|
||||
|
||||
class ExtHostApiCommands {
|
||||
|
||||
private _commands: ExtHostCommands;
|
||||
private _disposables: IDisposable[] = [];
|
||||
|
||||
Reference in New Issue
Block a user