How should I set up vscode for contributions? #5778
-
@rfay as per #5732 (comment)
I'm using vscode with this extension - I haven't don't any other configuration related to go. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
I guess that's all we do in gitpod setup, Lines 30 to 40 in dab6258 I wonder if there's any gofmt-specific stuff to do. Do you have gofmt installed? Homebrew installs it as part of |
Beta Was this translation helpful? Give feedback.
-
Yup
Code tests or lint tests? The lint test hasn't failed on me since my early contributions so I think maybe that's working as expected? |
Beta Was this translation helpful? Give feedback.
-
The changes that actually ended up in your PRs weren't a problem, and I'm not sure there's anything we need to do about them. In the past, we've had aggressive things from vscode (rearranging imports without being asked, etc.) but yours don't show that. I think that's done by additional vscode golang extensions. If you see anything that can be improved in https://github.com/ddev/ddev/tree/master/.vscode it's welcome. I don't think we have a problem, and thanks for your amazing contributions. If you see suspect unneeded reformatting in your PRs (beyond what gofmt would do), please poke around to chase it, but again I think it's all fine. |
Beta Was this translation helpful? Give feedback.
-
If you haven't already seen it, there was a contributor-training workshop: Setting up a Go Development Environment It cover some VSCode setup. Other workshops are list here: https://ddev.com/blog/contributor-training/ |
Beta Was this translation helpful? Give feedback.
The changes that actually ended up in your PRs weren't a problem, and I'm not sure there's anything we need to do about them. In the past, we've had aggressive things from vscode (rearranging imports without being asked, etc.) but yours don't show that. I think that's done by additional vscode golang extensions.
If you see anything that can be improved in https://github.com/ddev/ddev/tree/master/.vscode it's welcome.
I don't think we have a problem, and thanks for your amazing contributions.
If you see suspect unneeded reformatting in your PRs (beyond what gofmt would do), please poke around to chase it, but again I think it's all fine.