mirror of
https://github.com/golang/go
synced 2024-11-18 10:54:40 -07:00
136c3617b6
This change implements support for textDocument/formatting when it comes to go.mod files. It also adds formatting on save ability. To enable formatting on save for go.mod files, you need to include the following settings inside of your VSCode settings.json: ... "[go.mod]": { "editor.codeActionsOnSave": { "source.organizeImports": true, }, "editor.formatOnSave": true, }, ... Updates golang/go#36501 Change-Id: I60ac14d0e99b2b086fe9a8581770771aafc2173c Reviewed-on: https://go-review.googlesource.com/c/tools/+/221223 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
acme.md | ||
atom.md | ||
command-line.md | ||
contributing.md | ||
daemon.md | ||
design.md | ||
emacs.md | ||
faq.md | ||
implementation.md | ||
integrating.md | ||
settings.md | ||
status.md | ||
subl.md | ||
troubleshooting.md | ||
user.md | ||
vim.md | ||
vscode.md |