autosave on .go file write

Waqar Ahmed waqar.17a at gmail.com
Mon Aug 5 09:04:48 BST 2024


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 PM Waqar Ahmed <waqar.17a at gmail.com> wrote:
>
> 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 PM Andrew Hume <andrew at synadia.com> 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 version 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 (andrew at humeweb.com) in any reply.
> >
> > thanks
> >
> >


More information about the KWrite-Devel mailing list