go-outline
Displays an outline of symbols for Golang
frairon 17,694 5 0.6.11 MIT GitHub

Go Outline Build Status

Simple outline for golang files.

Go Outline Screenshot

It shows all following symbols contained in the whole package:

  • global variables/constants
  • global functions
  • types, interfaces
  • functions with receivers

If a file changes, the tree will be updated.

You need go-outline-parser on your $PATH.

Having set $GOPATH, then this will do:

go get github.com/frairon/go-outline-parser

Usage

  • go-outline:toggle [ctrl-alt-o] -> activates the outline
  • go-outline:focus-filter [ctrl-shift-E] -> jumps directly in the filter input

In the filter input:

  • ESC clears the filter
  • Enter jumps to the first filtered item

Contributing

Bug reports, Issues and PRs are always welcome!

License

MIT License - see the LICENSE for more details.