add lifecycle to code lens, #74846

This commit is contained in:
Johannes Rieken
2019-06-04 18:17:06 +02:00
parent be46e973ed
commit 35643d80e0
12 changed files with 212 additions and 114 deletions

View File

@@ -504,7 +504,7 @@ export class ExtHostApiCommands {
private _executeCodeLensProvider(resource: URI, itemResolveCount: number): Promise<vscode.CodeLens[] | undefined> {
const args = { resource, itemResolveCount };
return this._commands.executeCommand<modes.ICodeLensSymbol[]>('_executeCodeLensProvider', args)
return this._commands.executeCommand<modes.CodeLens[]>('_executeCodeLensProvider', args)
.then(tryMapWith(item => {
return new types.CodeLens(
typeConverters.Range.to(item.range),