You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LSP-typescript provides a Delete all unused imports code action. If I trigger it from the hover popup then it is applied correctly but if I trigger it from a quick panel then it does nothing.
The reason is that when selecting code action from the quick panel, the on_activate_async listener is triggered first and it triggers code actions request. Because it happens before "code action resolve" request, LSP-typescript's internal cache of resolvable code actions is cleared and it's not able to provide resolve result for that code action anymore.
Screenshots
Screen.Recording.2026-05-04.at.23.56.41.mov
Environment (please complete the following information):
Describe the bug
LSP-typescriptprovides aDelete all unused importscode action. If I trigger it from the hover popup then it is applied correctly but if I trigger it from a quick panel then it does nothing.The reason is that when selecting code action from the quick panel, the
on_activate_asynclistener is triggered first and it triggers code actions request. Because it happens before "code action resolve" request, LSP-typescript's internal cache of resolvable code actions is cleared and it's not able to provide resolve result for that code action anymore.Screenshots
Screen.Recording.2026-05-04.at.23.56.41.mov
Environment (please complete the following information):