This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
Is there a way to codionally show a code action? #1574
-
So for example, be able to run a function that can tell if a code action to wrap the word under the cursor in a function call should be included. |
Beta Was this translation helpful? Give feedback.
Answered by
jose-elias-alvarez
May 28, 2023
Replies: 1 comment
-
Yes, a code action generator can return |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joshpetit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, a code action generator can return
nil
when no code action is available. See the documentation.