-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Description
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 call command with arguments with edit position to select added function argument.
But you cannot resolve edit and command 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 and command in code actions, and allow to change them both in resolve. This should be minor change with removing such limitation, and this is already allowed by lsp spec?