1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:04:49 -07:00
go/cmd
Alan Donovan 1529f889eb cmd/guru: report start and end positions for non-PkgName Objects
Most objects are declared by an identifier, so the end position is
start+len(name).  However, this heuristic doesn't work for PkgName
objects because a (non-renaming) import creates an object without an
identifier.

Fixes issue github.com/Microsoft/vscode-go#562

Change-Id: I0eb44ca33a643c910d97abbf700ea4c3cd23bb41
Reviewed-on: https://go-review.googlesource.com/32440
Reviewed-by: Robert Griesemer <gri@golang.org>
2016-10-31 16:37:29 +00:00
..
benchcmp benchmark/parser, cmd/benchcmp: improve names of exported identifiers 2015-01-15 01:28:17 +00:00
bundle cmd/bundle: add flag to rewrite golang.org/ to golang_org/ in imports 2016-09-13 16:37:30 +00:00
callgraph go/ssa: support custom TestMain functions in test packages 2016-10-19 17:50:59 +00:00
cover all: address vet issues, fix print calls 2016-03-27 20:36:34 +00:00
digraph tools: add import comments. 2014-12-09 22:42:16 +00:00
eg refactor/eg: refactor to break dependency on go/loader 2015-09-01 14:26:06 +00:00
fiximports cmd/godoc, cmd/fiximports: fix or skip failing tests at tip 2016-10-12 15:24:30 +00:00
godex x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
godoc cmd/godoc: increase test timeout 2016-10-12 16:04:38 +00:00
goimports cmd/goimports: work around lack of runtime/trace in gccgo 2016-08-13 05:07:58 +00:00
gomvpkg go/buildutil: TagsFlag provides a flag.Value for setting build.Context.BuildTags from -tags flag. 2015-04-23 14:10:21 +00:00
gorename cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00
gotype x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
goyacc cmd/goyacc: remove hardcoded NTYPES 2016-10-07 17:45:45 +00:00
guru cmd/guru: report start and end positions for non-PkgName Objects 2016-10-31 16:37:29 +00:00
heapview x/tools/cmd/heapview: add a sidebar to hold navigation 2016-08-16 17:33:40 +00:00
html2article tools: fix 'Split called after Scan' 2016-05-04 16:29:22 +00:00
present present: add speaker notes to the title page 2016-10-19 22:19:41 +00:00
ssadump go/ssa: support custom TestMain functions in test packages 2016-10-19 17:50:59 +00:00
stress all: fix plan9 failures 2016-01-28 00:31:03 +00:00
stringer cmd/stringer: fixed usage line typo 2016-04-17 02:19:27 +00:00
tip tip/doc: update doc to match latest gcloud syntax 2016-08-03 14:42:34 +00:00