Skip to content

Commit 68b67b4

Browse files
committed
gopls/internal/golang: support parameter movement refactorings
Add "move parameter left" and "move parameter right" refactorings, via a more general mechanism for change signature rewrites. As part of this, define a flexible API for change signature, though only parameter permutation is currently supported. For golang/go#38028 Change-Id: I14142d5456904836402d94130f6ee1e32a19066c Reviewed-on: https://go-review.googlesource.com/c/tools/+/581535 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
1 parent 51e54e8 commit 68b67b4

File tree

11 files changed

+694
-95
lines changed

11 files changed

+694
-95
lines changed

gopls/doc/release/v0.17.0.md

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313

1414
# New features
1515

16+
## Change signature refactoring
17+
18+
TODO(rfindley): document the state of change signature refactoring once the
19+
feature set stabilizes.
20+
21+
## Improvements to existing refactoring operations
22+
23+
TODO(rfindley): document the full set of improvements to rename/extract/inline.
24+
1625
## Extract declarations to new file
1726

1827
Gopls now offers another code action,

0 commit comments

Comments
 (0)