mirror of https://github.com/golang/go.git
This change is the first step in centralizing control of modifications to different files, either within the workspace or outside of it. We add a source.FileAction type to pass into the internal/lsp/cache package and handle the difference between opening and creating a file. Now that we load all packages in a workspace by default, we no longer need to re-load a file on open. This CL should enable CL 206883 to work correctly. Change-Id: I2ddb21ca2dd33720d668066e73283f5629d02867 Reviewed-on: https://go-review.googlesource.com/c/tools/+/206888 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
|---|---|---|
| .. | ||
| apidiff | ||
| fastwalk | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| lsp | ||
| memoize | ||
| module | ||
| semver | ||
| span | ||
| telemetry | ||
| testenv | ||
| tool | ||
| txtar | ||
| xcontext | ||