Re: autosave on .go file write
Waqar Ahmed <[email protected]> Mon, 5 Aug 2024 13:04:48 +0500
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <CAPesRH50cb91P1iBFxoZTzzfCp9WjF45jCqfBoTq8_yaUL6XmA@mail.gmail.com> |
If you are stuck with an older distribution, you can try the app image https://cdn.kde.org/ci-builds/utilities/kate/master/linux/ On Mon, Aug 5, 2024 at 12:49=E2=80=AFPM Waqar Ahmed <[email protected]> w= rote: > > 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-formatti= ng-plugin/ > or check the docs > > Regards > > On Sun, Aug 4, 2024 at 10:29=E2=80=AFPM Andrew Hume <[email protected]> = wrote: > > > > i have been trying a number of things in order to have Kate auto-format= my Go source files whenever i save them. this used to work on an older ver= sion of linix, but alas no longer. > > > > i have tried to configure my LSP client for go to do this but it didn't= work. > > > > can someone suggest a way to do this, please? > > > > please include me ([email protected]) in any reply. > > > > thanks > > > >