-
Notifications
You must be signed in to change notification settings - Fork 2.3k
gopls/internal/lsp/source: put testing.T/B first when extracting #517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
//@codeactionedit(B_AddP, "refactor.extract", contextFunc1, "Extract function") | ||
//@codeactionedit(B_LongList, "refactor.extract", contextMeth2, "Extract method") | ||
//@codeactionedit(B_LongList, "refactor.extract", contextFunc2, "Extract function") | ||
//@codeaction(B_AddPWithBStart, B_AddPWithBEnd, "refactor.extract", contextFunc1T, "Extract function") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to use codeactionedit, but I don't see a way to use it for a multi-line selection
This PR (HEAD: 5cae125) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/tools/+/610976. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Viktor Stanchev: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 2: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Go LUCI: Patch Set 2: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-09-09T14:05:24Z","revision":"733927f60f7fb1ee1a6343280d218c251f0de38d"} Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 2: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Go LUCI: Patch Set 2: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Go LUCI: Patch Set 2: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 2: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Viktor Stanchev: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Viktor Stanchev: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Viktor Stanchev: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
5cae125
to
99de972
Compare
This PR (HEAD: 99de972) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/tools/+/610976. Important tips:
|
Message from Viktor Stanchev: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 3: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 3: Commit-Queue+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-09-11T19:59:43Z","revision":"3e8f2dfa26209df99158ae939c95619c72ac8ad7"} Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 3: Auto-Submit+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Robert Findley: Patch Set 3: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Go LUCI: Patch Set 3: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Message from Go LUCI: Patch Set 3: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/610976. |
Put the testing.T/B second when extracting functions/methods. It's next after context.Context. Fixes golang/go#69341 Change-Id: Idcfc0e09e4174646a3f136dcc5badfda4af9938e GitHub-Last-Rev: 99de972 GitHub-Pull-Request: #517 Reviewed-on: https://go-review.googlesource.com/c/tools/+/610976 Auto-Submit: Robert Findley <[email protected]> Reviewed-by: Tim King <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Run-TryBot: Tim King <[email protected]> Reviewed-by: Robert Findley <[email protected]> Auto-Submit: Tim King <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
This PR is being closed because golang.org/cl/610976 has been merged. |
Put the testing.T/B second when extracting functions/methods.
It's next after context.Context.
Fixes golang/go#69341