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
I've been wondering if it's possible to use ale#organize_imports#Execute as a fixer so it's possible to organize imports and format code with a single command.
I've tried running it with ALEFixPost/Pre autocommands but it either messes up the imports or leaves some code unformatted.
Here's the fixer implementation I tried to use but I'm quite new to vimscript so I'm not sure if it's possible to wait until after it's finished to run other fixers.
Hello!
I've been wondering if it's possible to use
ale#organize_imports#Execute
as a fixer so it's possible to organize imports and format code with a single command.I've tried running it with ALEFixPost/Pre autocommands but it either messes up the imports or leaves some code unformatted.
Here's the fixer implementation I tried to use but I'm quite new to vimscript so I'm not sure if it's possible to wait until after it's finished to run other fixers.
The text was updated successfully, but these errors were encountered: