Re: autosave on .go file write
Waqar Ahmed <[email protected]> Mon, 5 Aug 2024 12:49:20 +0500
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <CAPesRH7L5279XUNst=zyuznLYVhN3hoBgX75wxcoX6N39B9V3w@mail.gmail.com> |
Which version of Kate are you using? LSP plugin auto save might not be working because we started ignoring invalid ranges in 24.05. It is properly fixed in 24.08 so most likely formatting will work again in the next release. But you can enable "Formatting" plugin, it supports code formatting via gofmt. See https://kate-editor.org/post/2024/2024-05-13-kate-formatting= -plugin/ or check the docs Regards On Sun, Aug 4, 2024 at 10:29=E2=80=AFPM Andrew Hume <[email protected]> wr= ote: > > i have been trying a number of things in order to have Kate auto-format m= y Go source files whenever i save them. this used to work on an older versi= on of linix, but alas no longer. > > i have tried to configure my LSP client for go to do this but it didn't w= ork. > > can someone suggest a way to do this, please? > > please include me ([email protected]) in any reply. > > thanks > >