-
Notifications
You must be signed in to change notification settings - Fork 2.3k
internal/lsp: added a fill struct code action #220
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
ab66547
to
f84d949
Compare
This PR (HEAD: f84d949) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
Message from Gobot Gobot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Rebecca Stambler: Patch Set 1: (4 comments) Thanks for your contribution! See comments below. Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Rebecca Stambler: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
f84d949
to
c6b1485
Compare
This PR (HEAD: c6b1485) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
c6b1485
to
7d5dac2
Compare
This PR (HEAD: 7d5dac2) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
Message from Pei-Xian Chee: Patch Set 3: (4 comments)
Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Yasuhiro MATSUMOTO: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Pei-Xian Chee: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Yasuhiro MATSUMOTO: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Rebecca Stambler: Patch Set 3: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Pei-Xian Chee: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Rebecca Stambler: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
7d5dac2
to
b078437
Compare
This PR (HEAD: b078437) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
Message from Pei-Xian Chee: Patch Set 4: (4 comments) I will start adding feature tests. Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Link issue: golang/go#37576 |
Message from Rebecca Stambler: Patch Set 4: (1 comment) Thanks - this looks better! Some tests would be a good next step - they would probably fit into this code: tools/internal/lsp/lsp_test.go Line 372 in f3a5411
Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Pei-Xian Chee: Patch Set 4: (1 comment)
Ok, I will add tests in there. Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
b078437
to
ee5afb8
Compare
This PR (HEAD: ee5afb8) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
Message from Rebecca Stambler: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Pei-Xian Chee: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
@stamblerre Just notifying you that I left a reply over at Gerrit. I just realized there was no email from GerritBot on my reply, so I thought of informing you over at Github. |
Message from Rebecca Stambler: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
ee5afb8
to
3fd37e5
Compare
This PR (HEAD: 3fd37e5) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
3fd37e5
to
a041375
Compare
This PR (HEAD: a041375) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
Message from Alisson Bruno: Patch Set 7: Code-Review+1 (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Rebecca Stambler: Patch Set 7: (3 comments) Thank you for the changes! I just have a few small comments and then we can get this merged :) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
a041375
to
3f420fa
Compare
This PR (HEAD: 3f420fa) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
…individual fields and default values between a struct's enclosing braces Fixes #37576
3f420fa
to
0e4db3e
Compare
This PR (HEAD: 0e4db3e) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/227437 to see it. Tip: You can toggle comments from me using the |
Message from Pei-Xian Chee: Patch Set 9: (6 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Rebecca Stambler: Patch Set 9: Run-TryBot+1 Code-Review+2 Awesome, thank you! Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Gobot Gobot: Patch Set 9: TryBots beginning. Status page: https://farmer.golang.org/try?commit=e6584fed Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
Message from Gobot Gobot: Patch Set 9: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/227437. |
This code action generates key-value pairs of fields and default values between a struct's enclosing braces. Fixes #37576 Change-Id: Ia0555164d2164c2bc90bb9ecabbb55042cdd3846 GitHub-Last-Rev: 0e4db3e GitHub-Pull-Request: #220 Reviewed-on: https://go-review.googlesource.com/c/tools/+/227437 Reviewed-by: Rebecca Stambler <[email protected]> Run-TryBot: Rebecca Stambler <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
This PR is being closed because golang.org/cl/227437 has been merged. |
This code action generates key-value pairs of fields and default values between a struct's enclosing braces.
Fixes #37576