Type: Bug
Hovering with mouse over a list of available code actions that appears after clicking on a lightbulb displayed in the editor left margin (the same applies for the list of code actions that appears after right click in editor and selecting Source Action...), codeAction/resolve LSP call is invoked for each affected code action. This is not done when cycling the list using keyboard Up/Down when the codeAction/resolve is called only on the code action selected by user as to be performed.
The unnecessary calls to codeAction/resolve (caused by simple mouse hovers) represent a performance problem since the codeAction/resolve call is usually used to compute the edit property of a code action which could by quite costly (that was the reason to introduce the codeAction/resolve to LSP in version 3.16)
VS Code version: Code 1.85.1 (0ee08df, 2023-12-13T09:47:11.635Z)
OS version: Linux x64 6.6.3-1-default
Modes:
Type: Bug
Hovering with mouse over a list of available code actions that appears after clicking on a lightbulb displayed in the editor left margin (the same applies for the list of code actions that appears after right click in editor and selecting
Source Action...),codeAction/resolveLSP call is invoked for each affected code action. This is not done when cycling the list using keyboard Up/Down when thecodeAction/resolveis called only on the code action selected by user as to be performed.The unnecessary calls to
codeAction/resolve(caused by simple mouse hovers) represent a performance problem since thecodeAction/resolvecall is usually used to compute theeditproperty of a code action which could by quite costly (that was the reason to introduce thecodeAction/resolveto LSP in version 3.16)VS Code version: Code 1.85.1 (0ee08df, 2023-12-13T09:47:11.635Z)
OS version: Linux x64 6.6.3-1-default
Modes: