Allow executeCodeActionProvider API command to set the number of items to resolve, unit test to check that and the whole resolve machinery

This commit is contained in:
Johannes Rieken
2020-09-16 13:52:26 +02:00
parent 136cc276d1
commit f8ad845310
4 changed files with 52 additions and 6 deletions

View File

@@ -1612,7 +1612,7 @@ export class ExtHostLanguageFeatures implements extHostProtocol.ExtHostLanguageF
kind: x.kind.value,
command: this._commands.converter.toInternal(x.command, store),
}))
}, ExtHostLanguageFeatures._extLabel(extension), Boolean(extension.enableProposedApi && provider.resolveCodeAction));
}, ExtHostLanguageFeatures._extLabel(extension), Boolean(provider.resolveCodeAction));
store.add(this._createDisposable(handle));
return store;
}