Allow to resolve command
in codeAction/resolve
#176705
Labels
api
author-verification-requested
Issues potentially verifiable by issue author
editor-code-actions
Editor inplace actions (Ctrl + .)
feature-request
Request for new features or functionality
insiders-released
Patch has been released in VS Code Insiders
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
I tried to make simple code action thats adds function signature argument with type, generated from function call. So i need to asynchronously compute argument type, then make
edit
, then callcommand
with arguments withedit
position to select added function argument.But you cannot resolve
edit
andcommand
because of vscode limitation:#106410 (comment)
So i cannot make code action that will be added to context menu without computation lag, since
codeAction/resolve
is limited only to edits.I hope that @jrieken can understand many use cases from allowing to lazily resolve
edit
andcommand
in code actions, and allow to change them both inresolve
. This should be minor change with removing such limitation, and this is already allowed by lsp spec?The text was updated successfully, but these errors were encountered: