@@ -4,10 +4,10 @@ import { TextDocument, Position, CancellationToken } from 'vscode';
44import { CompletionItem , Definition , Hover , ReferenceContext , Location , SignatureHelp , SymbolInformation } from 'vscode' ;
55
66export interface IClientAdapter {
7- getCompletions ( document : TextDocument , position : Position , token : CancellationToken ) : Promise < CompletionItem [ ] > ;
8- getDefinition ( document : TextDocument , position : Position , token : CancellationToken ) : Promise < Definition > ;
9- getHoverDefinition ( document : TextDocument , position : Position , token : CancellationToken ) : Promise < Hover > ;
10- getReferences ( document : TextDocument , position : Position , context : ReferenceContext , token : CancellationToken ) : Promise < Location [ ] > ;
11- getSignature ( document : TextDocument , position : Position , token : CancellationToken ) : Promise < SignatureHelp > ;
12- getDocumentSymbols ( document : TextDocument , token : CancellationToken ) : Promise < SymbolInformation [ ] > ;
7+ getCompletions ( token : CancellationToken , fileName : string , columnIndex : number , lineIndex : number , source : string ) : Promise < CompletionItem [ ] > ;
8+ getDefinition ( token : CancellationToken , fileName : string , columnIndex : number , lineIndex : number , source : string ) : Promise < Definition > ;
9+ getHoverDefinition ( token : CancellationToken , fileName : string , columnIndex : number , lineIndex : number , source : string ) : Promise < Hover > ;
10+ getReferences ( token : CancellationToken , fileName : string , columnIndex : number , lineIndex : number , source : string ) : Promise < Location [ ] > ;
11+ getSignature ( token : CancellationToken , fileName : string , columnIndex : number , lineIndex : number , source : string ) : Promise < SignatureHelp > ;
12+ getDocumentSymbols ( token : CancellationToken , fileName : string , columnIndex : number , lineIndex : number , source : string ) : Promise < SymbolInformation [ ] > ;
1313}
0 commit comments