From f1f114780d190163c5080e3d0a6db19c66aa74e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maria=20Jos=C3=A9=20Solano?= Date: Thu, 6 Mar 2025 21:38:59 -0800 Subject: [PATCH] Specify that an editor should fallback to unresolved code action if resolve request fails --- _specifications/lsp/3.18/language/codeAction.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_specifications/lsp/3.18/language/codeAction.md b/_specifications/lsp/3.18/language/codeAction.md index 09ca91634..d5a12acf3 100644 --- a/_specifications/lsp/3.18/language/codeAction.md +++ b/_specifications/lsp/3.18/language/codeAction.md @@ -570,6 +570,8 @@ then a code action needs to be resolved using the `codeAction/resolve` request before it can be applied. +If the resolve request fails, the editor should try to apply the edit or command from the unresolved code action. + _Client Capability_: * property name (optional): `textDocument.codeAction.resolveSupport` * property type: `{ properties: string[]; }`