cmd/gofmt go/format
Issues and changes for 2 package(s) matching "cmd/gofmt go/format":
#76708 opened 6 days ago by mibk
#76405 opened 2 weeks ago by thejcannon
os, cmd/gofmt: tests fail on ext4 with 128byte inodes due to insufficient time precision [1.25 backport]CherryPickCandidate
#75046 opened 3 months ago by gopherbot
os, cmd/gofmt: tests fail on ext4 with 128byte inodes due to insufficient time precisionBugReportFixPendingNeedsFix
#75042 opened 3 months ago by chargr
#74907 opened 4 months ago by robbiemcmichael
cmd/gofmt: TestAll failuresNeedsInvestigation
#74829 opened 4 months ago by gopherbot
#74007 opened 6 months ago by FBemf
#73958 opened 6 months ago by thatcode
#73181 opened 8 months ago by firefart
#73172 opened 8 months ago by pjebs
#73105 opened 8 months ago by michaelchisari
go/format: possible internal error in format.Node when source contains //go:build directiveNeedsInvestigation
#69089 opened 1 year ago by mateusz834
cmd/gofmt: Comments are incorrectly moved across commasFrozenDueToAge
#68190 opened 1 year ago by varungandhi-src
#68061 opened 2 years ago by jimmyfrasche
go/format: line comment not indented properly after indented statementNeedsInvestigation
#67005 opened 2 years ago by willfaught
go/ast, go/format: newline missing between modified comment and functionNeedsInvestigation
#66439 opened 2 years ago by ldemailly
#66433 opened 2 years ago by dsnet
#65643 opened 2 years ago by adamroyjones
#65270 opened 2 years ago by pantsmann
cmd/gofmt: inconsistent behavior on removing unnecessary type names with -s argFixPendingNeedsFixSuggested
#64966 opened 2 years ago by fishy
#63823 opened 2 years ago by masseelch
go/format: leading spaces aren't inserted for comments on first passFrozenDueToAgeNeedsInvestigationToolscompiler/runtime
#63642 opened 2 years ago by lfolger
#63566 opened 2 years ago by adonovan
#63362 opened 2 years ago by adonovan
go/format: does not format comments correctly the first timeNeedsInvestigation
#62559 opened 2 years ago by IceflowRE
cmd/gofmt: smart quotes are notFrozenDueToAge
#61365 opened 2 years ago by seebs
cmd/gofmt: last call in fluent API call chain not indented correctlyFrozenDueToAgeNeedsInvestigation
#61331 opened 2 years ago by willfaught
cmd/gofmt: proposal: place conditional single statement return on a single line (e.g. `if err != nil { return err }`)FrozenDueToAgeProposalerror-handling
#60771 opened 2 years ago by sparr
#60594 opened 2 years ago by richgrov
cmd/gofmt: -r strips some comments in array typesNeedsInvestigation
#57680 opened 2 years ago by rillig
cmd/gofmt: -r strips some comments when pattern matchingNeedsInvestigation
#57574 opened 2 years ago by rski
#57567 opened 2 years ago by rillig
go/format: Use io.Reader and io.Writer interfaces as Source function parametersFrozenDueToAgeProposal
#56936 opened 3 years ago by edebernis
go/format: unable to write '' in a comment as it's unconditionally transformed to a ” "smart quote"FrozenDueToAge
#56380 opened 3 years ago by arp242
cmd/gofmt: indenting removed from multi-line bullet-lists inside numbered listsFrozenDueToAgeNeedsInvestigation
#56072 opened 3 years ago by thaJeztah
cmd/gofmt: nested list reformatting removes explicitly-written hierarchies in existing commentsNeedsInvestigation
#55990 opened 3 years ago by bjwrk
#54789 opened 3 years ago by Abirdcfly
#54489 opened 3 years ago by bjwrk
#54129 opened 3 years ago by alexzielenski
#53005 opened 3 years ago by ayushr2
cmd/gofmt: inconsistent whitespace after map value typeNeedsInvestigation
#53001 opened 3 years ago by dsnet
#52145 opened 3 years ago by skeeto
cmd/gofmt: inconsistent indentation of struct fields of containing tabFrozenDueToAgeNeedsInvestigation
#51910 opened 3 years ago by fraenky8
cmd/gofmt: gofmt issue with new genericsFrozenDueToAge
#51898 opened 3 years ago by nagnagendra
cmd/gofmt: align struct tag of embedded type with surrounding fieldsNeedsInvestigation
#51598 opened 3 years ago by dolmen
cmd/gofmt: gofmt introduces a trailing comma in some type parameter lists where not neededFrozenDueToAgeNeedsFix
#51548 opened 3 years ago by griesemer
#51164 opened 3 years ago by dim13
go/format: Modified AST is formatted weirdlyNeedsInvestigation
#49846 opened 4 years ago by ghost
cmd/gofmt: inconsistent formatting around & operator usage in function callsFrozenDueToAgeNeedsInvestigation
#49548 opened 4 years ago by cornelk
cmd/gofmt: formatting should sort and cluster imports in a standard wayNeedsInvestigation
#48552 opened 4 years ago by jsgoupil
#48065 opened 4 years ago by ghost
#48064 opened 4 years ago by ghost
#46289 opened 4 years ago by mvdan
#45953 opened 4 years ago by jlamur
cmd/gofmt: ignores explicit file arguments not named with ".go" after CL 284138FrozenDueToAgeNeedsFixrelease-blocker
#45859 opened 4 years ago by cherrymui
#45491 opened 4 years ago by charlesvdv
#45301 opened 4 years ago by lewislbr
cmd/gofmt: guard support for generic code behind a "typeparams" build constraintFrozenDueToAgeNeedsInvestigation
#44933 opened 4 years ago by findleyr
cmd/gofmt: treat one line if-statements as it does one line function definitionsFrozenDueToAgeProposal
#44338 opened 4 years ago by dandragona-dev
#43566 opened 4 years ago by mvdan
cmd/gofmt: gofmt breaks examples with multline comments as outputNeedsInvestigation
#43548 opened 4 years ago by acanalis
cmd/gofmt: `go fmt` not working when go:embed file is missingFrozenDueToAgeNeedsInvestigationrelease-blocker
#43273 opened 5 years ago by mewmew
cmd/gofmt: incorrect alignment for func prototype parameters commentsNeedsInvestigation
#42633 opened 5 years ago by mkrasuski
#42300 opened 5 years ago by FiloSottile
#42172 opened 5 years ago by jeanbza
cmd/gofmt: rewrite removes commentsNeedsInvestigation
#42031 opened 5 years ago by musiphil
cmd/gofmt: unexpected indentation in chained callsNeedsInvestigation
#41889 opened 5 years ago by cbandy
#40288 opened 5 years ago by peidaqi
cmd/gofmt: multiline function arguments are inconsistently indentedNeedsInvestigation
#39586 opened 5 years ago by ijschwabacher
#38795 opened 5 years ago by tommyknows
cmd/gofmt: refuses to format file with invalid column in line directiveNeedsInvestigation
#38697 opened 5 years ago by josharian
cmd/gofmt: inconsistent indentation with comments in switchNeedsInvestigation
#38495 opened 5 years ago by seankhliao
cmd/gofmt: allow same level indent for block commentsNeedsInvestigation
#38204 opened 5 years ago by dsnet
cmd/gofmt: consider sorting imports in the same way as goimports (separating std lib from third party)NeedsInvestigation
#37719 opened 5 years ago by JeremyLoy
cmd/gofmt: formatting change between go1.13.8 and go1.14, unknown if intentional or notFrozenDueToAgeNeedsInvestigation
#37639 opened 5 years ago by kevinconaway
#37476 opened 5 years ago by dmitshur
#37399 opened 5 years ago by ohir
cmd/gofmt: proposal: Minimize adjacent whitespace changes on struct layout edits (user controlled positions).FrozenDueToAgeProposal
#37299 opened 5 years ago by ohir
cmd/gofmt: add blank line between functionsFrozenDueToAge
#35268 opened 6 years ago by DongchengWang
#34942 opened 6 years ago by adamtabrams
cmd/gofmt: slice of structs not consistently formattedNeedsInvestigation
#34582 opened 6 years ago by smasher164
cmd/gofmt: inconsistent formatting of spacing around operatorsNeedsInvestigation
#34426 opened 6 years ago by engineering-this
#33538 opened 6 years ago by dsnet
#33507 opened 6 years ago by D1CED
#33363 opened 6 years ago by cespare
#33263 opened 6 years ago by ialidzhikov
cmd/gofmt: rewrite 'a->a' breaks declaration inside function literalFrozenDueToAgeNeedsInvestigation
#33105 opened 6 years ago by rillig
cmd/gofmt: rewrite 'a->a' adds parentheses around function return typeFrozenDueToAgeNeedsInvestigation
#33104 opened 6 years ago by rillig
#33103 opened 6 years ago by rillig
cmd/gofmt: prefixes/exponents of imaginary literals don't get canonicalizedFrozenDueToAgerelease-blocker
#32718 opened 6 years ago by griesemer
#32580 opened 6 years ago by liggitt
#32480 opened 6 years ago by a8m
cmd/gofmt: align renamed importsNeedsDecision
#32189 opened 6 years ago by dsnet
cmd/gofmt: struct fields not aligned when interrupted by a multi-line expressionFrozenDueToAgeNeedsInvestigation
#31431 opened 6 years ago by hollowaykeanho
#31228 opened 6 years ago by Konstantin8105
go/format: format.Node internal error (1:13: expected ';', found '-')FrozenDueToAgeNeedsInvestigation
#30950 opened 6 years ago by bronze1man
cmd/gofmt: alignment issue with Combining Macron `U+0304` in map literalsFrozenDueToAgeNeedsInvestigation
#30939 opened 6 years ago by matthewhartstonge
#30741 opened 6 years ago by dsnet
#30540 opened 6 years ago by santhosh-tekuri
cmd/gofmt: inconsistent indentation for comments inside switch-caseNeedsInvestigation
#30327 opened 6 years ago by subsr97
#30299 opened 6 years ago by kevinburke
go/printer, cmd/gofmt: panic on large Go file of length >= 1<<30NeedsInvestigation
#30121 opened 6 years ago by tsenart
#29784 opened 7 years ago by DylanMeeus
#29593 opened 7 years ago by josharian
#29450 opened 7 years ago by hajimehoshi
#28691 opened 7 years ago by hmage
cmd/gofmt: comment in return params is misplaced NeedsInvestigation
#28433 opened 7 years ago by benesch
#28082 opened 7 years ago by neild
cmd/gofmt: unaligned end-of-line comments in switch casesNeedsInvestigation
#28057 opened 7 years ago by rillig
#27964 opened 7 years ago by dave
#27576 opened 7 years ago by jingyugao
#27574 opened 7 years ago by rillig
cmd/gofmt: feature request: order methodsFrozenDueToAge
#27041 opened 7 years ago by ivanivanyuk1993
go/format: go1.11 gofmt regression in map entries indentFrozenDueToAge
#27025 opened 7 years ago by dolmen
#26931 opened 7 years ago by wingyplus
#26930 opened 7 years ago by dsnet
#26846 opened 7 years ago by jjuliano
#26706 opened 7 years ago by RalphCorderoy
cmd/gofmt: unfinished else statement followed by if statement should maybe have indentationNeedsInvestigation
#26701 opened 7 years ago by mholt
#26528 opened 7 years ago by kevinburke
#26352 opened 7 years ago by nd
go/format: Struct literal alignment differing between 1.10 and 1.11beta1FrozenDueToAgeNeedsInvestigation
#26098 opened 7 years ago by jacobbednarz
cmd/gofmt: better error message when gofmt is out of dateNeedsInvestigation
#25430 opened 7 years ago by griesemer
#25161 opened 7 years ago by dvyukov
cmd/gofmt: gofmt is inconsistentFrozenDueToAge
#24609 opened 7 years ago by cg31
cmd/gofmt: not idempotent on line with multiple commentsNeedsInvestigation
#24472 opened 7 years ago by ALTree
#24302 opened 7 years ago by willfaught
#24191 opened 7 years ago by as
cmd/gofmt: strange indentation in slice literalFrozenDueToAge
#23655 opened 7 years ago by larhun
cmd/gofmt: Unexpected formatting multiline functions in struct literalNeedsInvestigation
#23523 opened 7 years ago by andrewhare
#23495 opened 8 years ago by savaki
#23350 opened 8 years ago by rsc
#23275 opened 8 years ago by qfel
cmd/gofmt: address formatting oddities of composite literals with irregularly sized entriesFrozenDueToAgeNeedsFixearly-in-cycle
#22852 opened 8 years ago by matthewhartstonge
#22695 opened 8 years ago by rsc
#22674 opened 8 years ago by willfaught
cmd/gofmt: a comment at the end of a line clings onto/prevents insertion of a newline before the next lineNeedsFixhelp wanted
#22631 opened 8 years ago by nishanths
cmd/gofmt: formatting improvements may break existing presubmit checksFrozenDueToAgeNeedsDecisionrelease-blocker
#22607 opened 8 years ago by griesemer
#22521 opened 8 years ago by leonklingele
cmd/gofmt: unexpected comment indentation FrozenDueToAge
#22408 opened 8 years ago by rakyll
#22355 opened 8 years ago by mvdan
#22337 opened 8 years ago by qinhanlei
cmd/gofmt: unexpected formatting of commentsNeedsInvestigation
#22334 opened 8 years ago by hughdavenport
#22173 opened 8 years ago by moznion
#22111 opened 8 years ago by griesemer
#21952 opened 8 years ago by willfaught
#21337 opened 8 years ago by dvyukov
#20874 opened 8 years ago by dsnet
go/format: hasUnsortedImports should also test grouped imports (TODO)NeedsInvestigation
#20740 opened 8 years ago by griesemer
#20681 opened 8 years ago by stjj89
cmd/gofmt: puts `else if` comments in wrong placeNeedsDecision
#20562 opened 8 years ago by purpleidea
#20500 opened 8 years ago by hyangah
#20258 opened 8 years ago by benpaxton-hf
#19618 opened 8 years ago by bits01
#19544 opened 8 years ago by nsf
#18999 opened 8 years ago by 0intro
#18987 opened 8 years ago by mdempsky
cmd/gofmt: add option to insert missing end-of-line commas in programFrozenDueToAgeProposalProposal-Declined
#18939 opened 8 years ago by rhysd
#18932 opened 8 years ago by LukeShu
#18791 opened 9 years ago by rakyll
#18790 opened 9 years ago by dlsniper
#18782 opened 9 years ago by kortschak
cmd/gofmt: gofmt -r should preserve multiline formattingNeedsInvestigation
#18677 opened 9 years ago by rogpeppe
cmd/gofmt: gofmt should rewrite snake-case.FrozenDueToAge
#18669 opened 9 years ago by timakin
cmd/gofmt: Slice literal condensed to one line and comment moved outside if comment is last lineNeedsFix
#18599 opened 9 years ago by btracey
cmd/gofmt: not supported by windowsFrozenDueToAge
#18026 opened 9 years ago by alexbrainman
cmd/gofmt: overwrites read only filesFrozenDueToAge
#17873 opened 9 years ago by 0xmohit
#17705 opened 9 years ago by calmh
cmd/gofmt: short arguments e.g.`-wd`FrozenDueToAge
#17440 opened 9 years ago by LionNatsu
cmd/gofmt: Anonymous field could be placed in the 2nd column of a structNeedsInvestigation
#17002 opened 9 years ago by Kroc
#16461 opened 9 years ago by mdempsky
cmd/gofmt: doesn't honor line endings of Windows \r\n terminated source filesFrozenDueToAgeOS-WindowsWaitingForInfo
#16355 opened 9 years ago by pbennett
#16170 opened 9 years ago by arp242
#16140 opened 9 years ago by cespare
#16078 opened 9 years ago by hirochachacha
cmd/gofmt: Minor spacing difference in cmd/gofmt formatting between 1.5 and 1.6.FrozenDueToAgeUnfortunate
#15294 opened 9 years ago by dmitshur
#15153 opened 9 years ago by dominikh
cmd/gofmt: Removed semicolon not converted to end-of-line when adjacent to a block comment.FrozenDueToAgeNeedsFix
#15137 opened 9 years ago by h8liu
cmd/gofmt: gofmt -r stack overflow when trying to rewrite functionsNeedsInvestigation
#14821 opened 9 years ago by sugar700
#14733 opened 9 years ago by client9
cmd/gofmt: strange indentation of +-separated argsFrozenDueToAge
#13800 opened 10 years ago by cespare
#13702 opened 10 years ago by cezarsa
cmd/gofmt: Faulty Comment Re-Arrangement in Argument ListsNeedsInvestigation
#13113 opened 10 years ago by matttproud
cmd/gofmt: inconsistent spaces around bitwise &FrozenDueToAge
#12720 opened 10 years ago by RomanSaveljev
cmd/gofmt: damages the indentationFrozenDueToAge
#12257 opened 10 years ago by ip
#12105 opened 10 years ago by mattn
cmd/gofmt: Gofmt function chaining with lambda issueFrozenDueToAge
#12066 opened 10 years ago by mathvav
#12043 opened 10 years ago by dsnet
cmd/gofmt: should break down long lines of commentsFrozenDueToAge
#11915 opened 10 years ago by derekchiang
cmd/gofmt: align struct tagsFrozenDueToAge
#11857 opened 10 years ago by pvinis
cmd/gofmt: inconsistent spacing on slice indicesNeedsInvestigation
#11497 opened 10 years ago by tgrosinger
#11423 opened 10 years ago by mattp16
go/format: adds }FrozenDueToAge
#11276 opened 10 years ago by dvyukov
go/format: non-idempotent formatFrozenDueToAge
#11275 opened 10 years ago by dvyukov
go/format: turns correct program into incorrect oneFrozenDueToAge
#11274 opened 10 years ago by dvyukov
#10392 opened 10 years ago by wojtek-t
cmd/gofmt: breaks channel syntaxFrozenDueToAge
#10040 opened 10 years ago by bgeron
#10025 opened 10 years ago by marcotmarcot
cmd/gofmt: add strongly simplify flagFrozenDueToAge
#9983 opened 10 years ago by josharian
#9910 opened 10 years ago by josharian
#9751 opened 11 years ago by dmitshur
cmd/gofmt: moves comment in forNeedsInvestigation
#9460 opened 11 years ago by sethwklein
#9155 opened 11 years ago by gopherbot
cmd/gofmt: odd comment alignmentFrozenDueToAge
#9064 opened 11 years ago by cznic
cmd/gofmt: go fmt eats my source code if it gets ENOSPCFrozenDueToAge
#8984 opened 11 years ago by gopherbot
#8974 opened 11 years ago by gopherbot
cmd/gofmt: strange alignment formatFrozenDueToAge
#8685 opened 11 years ago by dlintw
cmd/gofmt: allow multiple rewrite rulesFrozenDueToAge
#8597 opened 11 years ago by OneOfOne
cmd/gofmt: applying gofmt to partial code fails if it ends with line comment and no newlineFrozenDueToAge
#8411 opened 11 years ago by dmitshur
cmd/gofmt: odd formatting of struct literalFrozenDueToAge
#8215 opened 11 years ago by davecheney
cmd/gofmt: one-line function broken into several linesFrozenDueToAge
#8146 opened 11 years ago by cloneable
#8091 opened 11 years ago by gopherbot
cmd/gofmt: removes parens around empty return valuesFrozenDueToAge
#8022 opened 11 years ago by dvyukov
cmd/gofmt: nonidempotent format of expressionFrozenDueToAge
#8021 opened 11 years ago by dvyukov
cmd/gofmt: remove tabs from commentsFrozenDueToAge
#7972 opened 11 years ago by aleksc-google
cmd/gofmt: ignore wildcards in gofmt -rFrozenDueToAge
#7870 opened 11 years ago by joeshaw
cmd/gofmt: Inconsistent alignment of struct field valuesFrozenDueToAge
#7819 opened 11 years ago by gopherbot
cmd/gofmt: remove empty var, const, and type blocksFrozenDueToAge
#7631 opened 11 years ago by josharian
#7481 opened 11 years ago by gopherbot
#7417 opened 11 years ago by griesemer
cmd/gofmt: formatting of struct literal depends inconsistently on lengths of field namesFrozenDueToAge
#7335 opened 11 years ago by cloneable
#7305 opened 12 years ago by cznic
cmd/gofmt: remove -tabs and -tabwidth flagsFrozenDueToAge
#7101 opened 12 years ago by bradfitz
#6996 opened 12 years ago by josharian
#6409 opened 12 years ago by gopherbot
cmd/gofmt: random stack overflow failures at tipFrozenDueToAge
#6168 opened 12 years ago by fsouza
#6099 opened 12 years ago by DanielMorsing
cmd/gofmt: generate a better error message for composite literals that need to be parenthesizedFrozenDueToAge
#6052 opened 12 years ago by lexprfuncall
cmd/gofmt: incorrect removing spacesFrozenDueToAge
#5976 opened 12 years ago by gopherbot
cmd/gofmt: incorrect comment alignment following a labelFrozenDueToAge
#5623 opened 12 years ago by mxk
go/format: Inconsistent behaviour against gofmt for partial Go programs, comments are strippedFrozenDueToAge
#5551 opened 12 years ago by dmitshur
cmd/gofmt: one-line function split into two linesFrozenDueToAge
#5543 opened 12 years ago by griesemer
#5128 opened 12 years ago by gopherbot
#5059 opened 12 years ago by fsouza
#4624 opened 13 years ago by gopherbot
cmd/gofmt: non-idempotent empty struct formattingFrozenDueToAge
#4504 opened 13 years ago by kylelemons
#4449 opened 13 years ago by griesemer
cmd/gofmt: using different versions of gofmt across the user base can lead to gofmt racesFrozenDueToAgeUnfortunate
#4446 opened 13 years ago by griesemer
cmd/gofmt: pattern for struct initialization with arbitrary number of fieldsFrozenDueToAgeUnfortunate
#4431 opened 13 years ago by jmhodges
#4430 opened 13 years ago by jmhodges
#4414 opened 13 years ago by Sajmani
cmd/gofmt: gofmt -r "interface{} -> Type" = errorFrozenDueToAge
#4406 opened 13 years ago by gopherbot
#4381 opened 13 years ago by griesemer
#4363 opened 13 years ago by robpike
cmd/gofmt: leaves trailing whitespace in commentsFrozenDueToAge
#4310 opened 13 years ago by gopherbot
cmd/gofmt: race in long testFrozenDueToAge
#3249 opened 13 years ago by mikioh
#2990 opened 14 years ago by griesemer