Vitalts / golangide

Automatically exported from code.google.com/p/golangide
0 stars 0 forks source link

go fmt not working since 11.4 #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter a program with non-standard formatting
2. Press the 'gofmt', or Shift-F7
3.

What is the expected output? What do you see instead?
Expect gofmt to re-format the text
Nothing happens

What version of the product are you using? On what operating system?
XP SP3 32 bit, Liteide version X12

Please provide any additional information below.
Worked up to version 11.4 on Windows

Original issue reported on code.google.com by iJonCarr...@gmail.com on 9 Jul 2012 at 1:30

GoogleCodeExporter commented 8 years ago
Comment - noticed it works with -d flag turned off in options (?) - but if I do 
this gofmt on save is not checkable..

Original comment by iJonCarr...@gmail.com on 9 Jul 2012 at 2:04

GoogleCodeExporter commented 8 years ago
gofmt -d flag need find gnu diff on %PATH%

Original comment by Visua...@gmail.com on 11 Jul 2012 at 11:26

GoogleCodeExporter commented 8 years ago
Yes, thank you. I hadn't checked from the command line.

Added "diff.exe" from binaries from 
http://gnuwin32.sourceforge.net/packages/diffutils.htm in C:/Go plus 
libiconv2.dll and libintl3.dll also needed - now works.

(gofmt on save check box is still uncheckable if -d flag is off)

Original comment by iJonCarr...@gmail.com on 11 Jul 2012 at 1:05

GoogleCodeExporter commented 8 years ago
save and gofmt only use gofmt -d option

Original comment by Visua...@gmail.com on 16 Jul 2012 at 1:01

GoogleCodeExporter commented 8 years ago
I experienced this as well, and adding diff.exe and the dll's didn't fix it 
(got an exit error) hg-828 and adding the msys dll file seems to have fixed it.

Original comment by Sna...@gmail.com on 13 Nov 2012 at 6:30

GoogleCodeExporter commented 8 years ago
please update to x16

Original comment by Visua...@gmail.com on 16 Jan 2013 at 11:15