liteide
liteide copied to clipboard
File is formatted if I press ctrl-s, not if I wait for auto save or for synchronous code formatting
What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?
LiteIDE X36.3 Qt 5.13.2
What version of Go are you using (go version)?
go version go1.14.1 linux/amd64
What operating system and processor architecture are you using(go env)?
GOARCH="amd64" GOOS="linux"
What did you do?
Options set:
Under
LiteApp, I haveAutomatically save documents when application is idlechecked, and its box contains5secUnderGolangFmt, I haveAutomatically format code when savingchecked as well asSynchronous code formatting, and the time for the latter is1000.
Edit a go file, introducing incorrect formatting. Wait.
What did you expect to see?
I expect the synchronous code formatting to trigger and format the file after 1 second. Even if that doesn't happen, the file should be formatted when it saves after 5s.
What did you see instead?
The file saves after 5s but no formatting occurs.
Note that the file does get formatted if I press ctrl-s rather than waiting.