1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:04:42 -07:00
go/cmd/oracle
Alan Donovan 68b5f7541d cmd/oracle: usability improvements to "describe", "referrers"
Emacs integration:
- eliminate oracle minor mode
- in go-mode, bind F5, F6 to "describe", "referrers".
  This reverts a previous policy decision but convenience matters too.
- don't insist on an analysis scope for modes that don't do PTA.
- don't hide the filename as "▶"; show the last 20 chars.
  (Especially useful for "referrers" mode.)
- output postprocessing: don't get stuck in a loop if the output
  is not as expected (e.g. when it includes a panic log).

referrers:
- show the matching lines (like grep does).
  We do the I/O in parallel.

Change-Id: I86b18c1d3a4d9fa4242984cba62b314796669d8e
Reviewed-on: https://go-review.googlesource.com/8120
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-30 19:04:01 +00:00
..
emacs-test.bash go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
main.go oracle: when 'implements' is invoked on a method, show related methods, not types. 2015-02-25 22:38:52 +00:00
oracle.el cmd/oracle: usability improvements to "describe", "referrers" 2015-03-30 19:04:01 +00:00
oracle.vim go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00