go/misc
David Symonds 3294404900 misc/vim: fix :Import insertion heuristic.
If a factored import group has a blank line, assume it is dividing
separate groups of imports (e.g. standard library vs. site-specific).
        import (
                "bytes"
                "io"

                "mycorp/package"
        )

The most common case is inserting new standard library imports,
which are usually (stylistically) the first group, so we should drop
"net" in the above example immediately after "io".

Since this logic is getting non-trivial, add a test.

R=golang-dev, minux.ma, franciscossouza
CC=golang-dev
https://golang.org/cl/6445043
2012-07-30 08:48:51 +10:00
..
arm arm: add gdb support to android launcher script 2010-07-30 10:35:07 +03:00
bash misc/bash: Completion for go tool. 2012-02-28 07:41:49 +11:00
bbedit misc/bbedit: error and rune support 2011-11-14 11:18:00 -08:00
cgo misc/cgo/test: only run setgid test on GNU/Linux 2012-07-28 10:40:51 -07:00
chrome/gophertool misc/chrome/gophertool: fix manifest 2012-07-05 16:52:13 -04:00
dashboard misc/dashboard/codereview: add admin-only link to force-update a CL. 2012-07-23 12:41:23 +10:00
dist misc/dist: use archive/tar.FileInfoHeader 2012-05-24 17:32:25 -07:00
emacs misc/emacs: Fix the gofmt patching when the TMPDIR is not the default. 2012-06-29 12:49:31 -04:00
fraise misc: update type + builtin lists found in editor support files 2011-01-19 23:07:49 -05:00
goplay misc/goplay: fix error on IE8. 2012-03-27 11:16:29 +11:00
IntelliJIDEA misc: syntax highlighting support on IntelliJ IDEA 2011-05-20 11:03:33 -07:00
kate kate: add error and rune 2011-11-14 11:16:06 -08:00
notepadplus misc/notepadplus: error and rune support 2011-11-14 11:19:08 -08:00
osx misc/osx: update for dist tool, drop image.bash, update readme 2012-02-07 14:37:57 +11:00
swig various: use $GCFLAGS and $GCIMPORTS like Make does 2011-12-16 11:31:39 -05:00
vim misc/vim: fix :Import insertion heuristic. 2012-07-30 08:48:51 +10:00
xcode misc/xcode: fix typos 2012-03-05 15:50:48 -08:00
zsh misc: add zsh completion for go tool. 2012-03-03 00:12:40 +01:00
benchcmp misc: update usage message in benchcmp for go tool 2012-03-05 10:57:58 +11:00
pprof runtime/pprof, misc/pprof: correct profile of total allocations. 2012-05-31 07:57:49 +02:00