remove unused type declaration support

This commit is contained in:
Johannes Rieken
2016-05-13 12:34:56 +02:00
parent 0d827d8e35
commit de77d32034

View File

@@ -196,11 +196,6 @@ export interface IMode {
*/
declarationSupport?: IDeclarationSupport;
/**
* Optional adapter to support revealing the type declaration of a symbol.
*/
typeDeclarationSupport?: ITypeDeclarationSupport;
/**
* Optional adapter to support finding references to a symbol.
*/
@@ -476,11 +471,6 @@ export interface IDeclarationSupport {
findDeclaration(resource:URI, position:editorCommon.IPosition):TPromise<IReference|IReference[]>;
}
export interface ITypeDeclarationSupport {
canFindTypeDeclaration(context:ILineContext, offset:number):boolean;
findTypeDeclaration(resource:URI, position:editorCommon.IPosition):TPromise<IReference>;
}
/**
* Interface used to compute an outline
*/