Skip to content
sourcegraphPublic

About

Package ctags provides a Go wrapper for universal-ctags.

Resources

Stars

7 stars

Watchers

49 watching

Forks

Repository files navigation

go-ctags: universal-ctags wrapper for easy access in Go

Note: This library is meant only for Sourcegraph use.

To improve type:symbol results in Sourcegraph, for languages with high quality Tree-sitter grammars, prefer adding support in scip-ctags in the Sourcegraph monorepo over adding support in this repo.

Adding new ctags flags

Add/modify appropriate .ctags files in ctagsdotd and re-run ./gen.sh at the root of the repository.

Testing

Requires: universal-ctags on PATH. For exact version, see the CI workflow.

Run tests: go test ./...

Update snapshots: go test ./... -update

Clean up old snapshots: go test ./... -update -clean

About

Package ctags provides a Go wrapper for universal-ctags.

Resources

Stars

7 stars

Watchers

49 watching

Forks

Releases

Packages

Contributors

Languages