cleanup actions? #405
-
I noticed JDTLS has cleanup actions, see eclipse-jdtls/eclipse.jdt.ls#2350 Does this work with neovim? I tried setting What about organizing imports on save? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Both cleanup and |
Beta Was this translation helpful? Give feedback.
-
Ah, interesting! Tried it. works like a charm. guess i'll be on nightly then until something crucial breaks. thanks! |
Beta Was this translation helpful? Give feedback.
-
Is there a way to manually trigger these cleanup actions? |
Beta Was this translation helpful? Give feedback.
Both cleanup and
saveActions = { organizeImports = true, },
should work, but I think they require thewillSaveWaitUntil
capability in the client. This is only supported on neovim 0.9-dev: neovim/neovim#21315