VS Code Extensions
Go Code Vision

Go Code Vision

by IliaKostarev

Inline usage and implementation counts for Go — like JetBrains Code Vision

Downloads

42

Rating

5.0 / 5 (3)

Version

1.0.0

Last updated

Apr 21, 2026

Inline usage and implementation counts for Go files in VS Code — inspired by JetBrains Code Vision.

Features

  • Usage counts — shows how many times a function or method is called, inline at the end of its declaration line
  • Implementation counts — shows how many types implement an interface
  • Clickable hints — click a hint to jump directly to the usage or open the references panel when there are multiple

Go Code Vision demo

Requirements

  • The Go extension for VS Code must be installed and active (it provides the language server that powers symbol and reference lookups)

Extension Settings

Setting Default Description
goCodeVision.showUsages true Show usage count hints for functions and methods
goCodeVision.showImplementations true Show implementation count hints for interfaces
goCodeVision.debounceMs 600 Delay in ms before refreshing hints after a file change

How It Works

The extension uses VS Code's built-in InlayHintsProvider API together with the reference and implementation providers from the Go language server (gopls). After each file change (debounced), it queries all symbols in the document and fetches their references or implementations, then renders the counts as inlay hints.

Source

github.com/whoamiengineer/go-code-vision

Related extensions