Replies: 1 comment 9 replies
-
It may be worth noticing that Eglot already provides |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This function augments
eglot-format-buffer
so that it in addition to formatting, it organizes the imports too:You can add it to your favorite mode hook like so:
In Go, it's the norm for most users to apply these two operations on save, and I assume that must be true in many other languages too. Does this seems like a useful piece of core functionality for the eglot package?
Beta Was this translation helpful? Give feedback.
All reactions