Open dbarnett opened 4 years ago
I ask because I see some areas of overlap between this and my vim-codefmt plugin for format-on-save etc., and I'm considering whether I could improve an existing plugin instead of making something new.
If there could be more of an explicit description of a set of fixes to be applied, users could e.g. whitelist categories of fixes to apply automatically like b:auto_fix_on_save = ['sort-imports', 'indent', 'wrap-long-lines']
and have more of an ambient "code intelligence" experience.
It looks like ALE fixers work on a model of handing off to a tool to apply a bunch of modifications to the buffer in-place vs. offering available fixes you could selectively apply. If so, any interest in supporting a model of floating optional suggestions you could browse through and pick-and-choose any you want to apply, along the lines of the little floating lightbulb tips many IDEs offer?