Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#42978 - [liteide] Formatting using goimports broken
Attached to Project:
Community Packages
Opened by Ishbir Singh (Ishbir) - Monday, 01 December 2014, 19:54 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 03 December 2014, 10:19 GMT
Opened by Ishbir Singh (Ishbir) - Monday, 01 December 2014, 19:54 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 03 December 2014, 10:19 GMT
|
DetailsDescription:
Formatting of Go code with goimports fails. Formatting it using gofmt works. Additional info: Version: 24.3 Steps to reproduce: 1. Enable formatting with goimports at View -> Options -> Golangfmt. 2. Try to save a badly formatted Go source file. 3. Nothing happens and you see "gofmt: Timed out after 500ms when starting go code format" in the event log. Fix: Formatting with goimports works when manually compiling (and not installing) the IDE. I looked around in LiteIDE's source code and it uses liteide_stub executable which is not copied to /usr/bin by the package build file. Manually copying the compiled liteide_stub to /usr/bin makes it work again. Therefore, the fix is to uncomment liteide_stub on line 58 of the PKGBUILD. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Wednesday, 03 December 2014, 10:19 GMT
Reason for closing: Fixed
Wednesday, 03 December 2014, 10:19 GMT
Reason for closing: Fixed
Comment by Alexander F. Rødseth (xyproto) -
Monday, 01 December 2014, 23:22 GMT
Thanks for reporting. I will add liteide_stub.