[roll] Roll fuchsia [vscode workspace] Add gopls configuration

This CL adds settings to fuchsia.code-workspace to make gopls ignore
certain directories when searching for go.mod files. This fixes an issue
where the Go extension would fail with errors like:

    Error loading packages: exhausted
    Error loading workspace folders (expected 1, got 0)
    failed to load view for file:///the/path/to/fuchsia: exhausted

This happens because gopls gives up after 1 million files [1]. By
default, gopls only ignores **/node_modules [2]. The most important
directory to exclude to stay under the limit is //out, but I also copied
some others from files.watcherExclude.

[1] https://github.com/golang/tools/blob/3b9d20c52192f5c16e801afcbc23756327155865/gopls/internal/lsp/cache/workspace.go#L618
[2] https://github.com/golang/tools/blob/3b9d20c52192f5c16e801afcbc23756327155865/gopls/internal/lsp/source/options.go#L121

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/763742
Original-Revision: b1856e1526e966c4e214b5d1bb449f2eb62385a7
GitOrigin-RevId: d89d6a16f4cb4a940faf2d4fd9ed89b50a86abc1
Change-Id: Ida989a91e078f4d5f25b0133fb6c2438bab8a834
1 file changed
tree: b4f00fad7f6bcb56d656686c19d87176c67d228d
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.