mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 23:44:09 +01:00
remove emitOutputSupport
This commit is contained in:
@@ -216,12 +216,6 @@ export interface IMode {
|
||||
*/
|
||||
inplaceReplaceSupport?:IInplaceReplaceSupport;
|
||||
|
||||
/**
|
||||
* Optional adapter to support output for a model (e.g. markdown -> html)
|
||||
* @internal
|
||||
*/
|
||||
emitOutputSupport?:IEmitOutputSupport;
|
||||
|
||||
/**
|
||||
* Optional adapter to support configuring this mode.
|
||||
* @internal
|
||||
@@ -827,22 +821,6 @@ export interface IInplaceReplaceSupport {
|
||||
navigateValueSet(resource:URI, range:editorCommon.IRange, up:boolean):TPromise<IInplaceReplaceSupportResult>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Interface used to get output for a language that supports transformation (e.g. markdown -> html)
|
||||
* @internal
|
||||
*/
|
||||
export interface IEmitOutputSupport {
|
||||
getEmitOutput(resource:URI):TPromise<IEmitOutput>;
|
||||
}
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export interface IEmitOutput {
|
||||
filename?:string;
|
||||
content:string;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* A link inside the editor.
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@ suite('Debug - Adapter', () => {
|
||||
program: 'readme.md'
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
setup(() => {
|
||||
adapter = new Adapter(rawAdapter, null, { extensionFolderPath, id: 'adapter', name: 'myAdapter', version: '1.0.0', publisher: 'vscode', isBuiltin: false, engines: null });
|
||||
|
||||
Reference in New Issue
Block a user