cmd/gofmt
#66433 opened 8 months ago by dsnet
#65643 opened 10 months ago by adamroyjones
#64966 opened 11 months ago by fishy
#60594 opened 2 years ago by richgrov
-r strips some comments in array typesNeedsInvestigation
#57680 opened 2 years ago by rillig
-r strips some comments when pattern matchingNeedsInvestigation
#57574 opened 2 years ago by rski
nested list reformatting removes explicitly-written hierarchies in existing commentsNeedsInvestigation
#55990 opened 2 years ago by bjwrk
#54489 opened 2 years ago by bjwrk
inconsistent whitespace after map value typeNeedsInvestigation
#53001 opened 2 years ago by dsnet
panic from simple rewrite ruleNeedsFix
#52145 opened 2 years ago by skeeto
align struct tag of embedded type with surrounding fieldsNeedsInvestigation
#51598 opened 2 years ago by dolmen
formatting should sort and cluster imports in a standard wayNeedsInvestigation
#48552 opened 3 years ago by jsgoupil
#46289 opened 3 years ago by mvdan
gofmt breaks examples with multline comments as outputNeedsInvestigation
#43548 opened 3 years ago by acanalis
incorrect alignment for func prototype parameters commentsNeedsInvestigation
#42633 opened 4 years ago by mkrasuski
rewrite removes commentsNeedsInvestigation
#42031 opened 4 years ago by musiphil
unexpected indentation in chained callsNeedsInvestigation
#41889 opened 4 years ago by cbandy
multiline function arguments are inconsistently indentedNeedsInvestigation
#39586 opened 4 years ago by ijschwabacher
refuses to format file with invalid column in line directiveNeedsInvestigation
#38697 opened 4 years ago by josharian
inconsistent indentation with comments in switchNeedsInvestigation
#38495 opened 4 years ago by seankhliao
allow same level indent for block commentsNeedsInvestigation
#38204 opened 4 years ago by dsnet
consider sorting imports in the same way as goimports (separating std lib from third party)NeedsInvestigation
#37719 opened 4 years ago by JeremyLoy
slice of structs not consistently formattedNeedsInvestigation
#34582 opened 5 years ago by smasher164
inconsistent formatting of spacing around operatorsNeedsInvestigation
#34426 opened 5 years ago by engineering-this
canonicalize octal literals to the '0o' formNeedsDecision
#33363 opened 5 years ago by cespare
#32480 opened 5 years ago by a8m
align renamed importsNeedsDecision
#32189 opened 5 years ago by dsnet
inconsistent indentation for comments inside switch-caseNeedsInvestigation
#30327 opened 5 years ago by subsr97
#30299 opened 5 years ago by kevinburke
panic on large Go file of length >= 1<<30NeedsInvestigation
#30121 opened 5 years ago by tsenart
comment in return params is misplaced NeedsInvestigation
#28433 opened 6 years ago by benesch
unaligned end-of-line comments in switch casesNeedsInvestigation
#28057 opened 6 years ago by rillig
#27964 opened 6 years ago by dave
#27574 opened 6 years ago by rillig
#26706 opened 6 years ago by RalphCorderoy
#26701 opened 6 years ago by mholt
better error message when gofmt is out of dateNeedsInvestigation
#25430 opened 6 years ago by griesemer
not idempotent on line with multiple commentsNeedsInvestigation
#24472 opened 6 years ago by ALTree
Unexpected formatting multiline functions in struct literalNeedsInvestigation
#23523 opened 6 years ago by andrewhare
#23495 opened 6 years ago by savaki
#23350 opened 7 years ago by rsc
-r 'bar(x) -> bar(x)' mistakenly replaces a comment with a newline in closures inside functionNeedsFix
#23275 opened 7 years ago by qfel
a comment at the end of a line clings onto/prevents insertion of a newline before the next lineNeedsFixhelp wanted
#22631 opened 7 years ago by nishanths
unexpected formatting of commentsNeedsInvestigation
#22334 opened 7 years ago by hughdavenport
puts `else if` comments in wrong placeNeedsDecision
#20562 opened 7 years ago by purpleidea
#18791 opened 7 years ago by rakyll
gofmt -r should preserve multiline formattingNeedsInvestigation
#18677 opened 8 years ago by rogpeppe
#18599 opened 8 years ago by btracey
Anonymous field could be placed in the 2nd column of a structNeedsInvestigation
#17002 opened 8 years ago by Kroc
#16078 opened 8 years ago by hirochachacha
gofmt -r stack overflow when trying to rewrite functionsNeedsInvestigation
#14821 opened 8 years ago by KamilaBorowska
Faulty Comment Re-Arrangement in Argument ListsNeedsInvestigation
#13113 opened 9 years ago by matttproud
Inconsistent space before open curly braceNeedsDecision
#12043 opened 9 years ago by dsnet
inconsistent spacing on slice indicesNeedsInvestigation
#11497 opened 9 years ago by tgrosinger
moves comment in forNeedsInvestigation
#9460 opened 10 years ago by sethwklein
#8974 opened 10 years ago by gopherbot
#8091 opened 10 years ago by gopherbot
#7417 opened 10 years ago by griesemer
#6996 opened 11 years ago by josharian
reformats block commentsThinking
#5128 opened 11 years ago by gopherbot