Skip to content

Commit de77d32

Browse files
committed
remove unused type declaration support
1 parent 0d827d8 commit de77d32

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/vs/editor/common/modes.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,6 @@ export interface IMode {
196196
*/
197197
declarationSupport?: IDeclarationSupport;
198198

199-
/**
200-
* Optional adapter to support revealing the type declaration of a symbol.
201-
*/
202-
typeDeclarationSupport?: ITypeDeclarationSupport;
203-
204199
/**
205200
* Optional adapter to support finding references to a symbol.
206201
*/
@@ -476,11 +471,6 @@ export interface IDeclarationSupport {
476471
findDeclaration(resource:URI, position:editorCommon.IPosition):TPromise<IReference|IReference[]>;
477472
}
478473

479-
export interface ITypeDeclarationSupport {
480-
canFindTypeDeclaration(context:ILineContext, offset:number):boolean;
481-
findTypeDeclaration(resource:URI, position:editorCommon.IPosition):TPromise<IReference>;
482-
}
483-
484474
/**
485475
* Interface used to compute an outline
486476
*/

0 commit comments

Comments
 (0)