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
@ericdallo It seems that clojure-lsp now registers or causes the client to register the resolve-macro-as command, and also handles presenting the user with choices about how to resolve the macro, which Calva previously did itself. This now causes an exception to be thrown when Calva tries to register resolve-macro-as itself, and it also causes the current code to present the options to the user as Calva does it, then clojure-lsp presents options to the user (since that command now causes that).
It seems we probably can stop registering resolve-macro-asand stop presenting the options to the user, and instead defer all of this to clojure-lsp. Is that correct?
You can see the changes in the linked PR. @ericdallo Let me know what you think.
bpringe
changed the title
Errors appear in the developer console related to "resolve-macro-as"
Exception thrown when registering "resolve-macro-as" command
Jan 23, 2022
@bpringe correct, I think I found a issue with that recently and ended up changing to handle via code action / clojure-lsp side, sorry for not warning about that, calva should handle that as other refactor commands normally.
It seems we may be registering it twice. See this comment for this error: #1482 (comment).
The text was updated successfully, but these errors were encountered: