commit | f5e916c686e15cd9b5e300fa6b37b632bee17bac | [log] [tgz] |
---|---|---|
author | Danish Dua <danishdua@google.com> | Mon Sep 21 19:38:26 2020 -0400 |
committer | Danish Dua <danishdua@google.com> | Wed Sep 23 01:44:26 2020 +0000 |
tree | 28047133e197c06eab9eadcd4564d6f6f171fb22 | |
parent | a1f7ab681ec05ab95fdda53cc3581c46fafca74b [diff] |
internal/lsp/source/completion: move search path to candidate This change refactors deep completion to move search path to a candidate instead of pointing to it in search queue. This removes the idea of "being in deep completion" and instead a deep candidate is just a candidate with a path from search root. Change-Id: Iec6a0f4409c0c8793986d5c1063000205ed43477 Reviewed-on: https://go-review.googlesource.com/c/tools/+/256417 Run-TryBot: Danish Dua <danishdua@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Danish Dua <danishdua@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.