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
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
At the moment, we have one big module CodeActions.hs that does all the logic for taking in diagnostics and spitting out code actions. Ideally, all of this logic should be done inside the plugins so that CodeActions.hs can gather them up without having to deal the specifics of each plugin.
As a rough idea, the PluginDescriptor could take on another field to help produce code actions:
Currently command identifiers are passed around as strings, and have a lot of dodgy logic for converting to and from their unique, PID prepended counterparts. This should be refactored so that they are strongly typed, and the PID-ifying is done behind the scenes.