Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>codelens-golang-navigateNew to Visual Studio Code? Get it now.
codelens-golang-navigate

codelens-golang-navigate

Ruslan Khasanshin

|
1 install
| (0) | Free
A Visual Studio Code extension which adds CodeLens actions and hover links for navigating through Golang code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

codelens-golang-navigate

CI Open VSX Version Visual Studio Marketplace Version

  • License
  • How to contribute
  • Code of conduct

A Visual Studio Code extension that adds CodeLens actions and trusted hover links for fast navigation in Golang code.


Features

CodeLens navigation

For Go symbols, the extension shows CodeLens actions:

🔍 Definition | 🏷️ Type definition | ⚙️ Implementations | 🏗️ Type hierarchy | 📞 Callers | 🔗 References

CodeLens is:

  • Automatically refreshed while typing (debounced)
  • Powered by gopls via VS Code's symbol provider

Hover navigation

When hovering a Go symbol, you get clickable links:

🔍 Definition | 🏷️ Type definition | ⚙️ Implementations | 🏗️ Type hierarchy | 📞 Callers | 🔗 References

These links are trusted and execute the corresponding editor navigation commands.

Performance-focused

  • Document symbols are cached per file version
  • CodeLens refresh is debounced (configurable)
  • Refresh happens only for the active Go editor

Prerequisites

  • Go installed
  • Go VS Code extension
  • gopls language server

Configuration

All settings are under the codelensGolangNavigate namespace.

Option Description Default
codelensGolangNavigate.enableCodeLensActions Enable/disable CodeLens actions true
codelensGolangNavigate.enableHoverLinks Enable/disable hover links true
codelensGolangNavigate.refreshOnTyping Refresh CodeLens when typing in the active Go file true
codelensGolangNavigate.refreshDebounceMs Debounce delay (ms) for refresh-on-typing 120
codelensGolangNavigate.logLevel Minimum log level (error, warn, info, debug) info

Example settings.json

{
  "codelensGolangNavigate.enableCodeLensActions": true,
  "codelensGolangNavigate.enableHoverLinks": true,
  "codelensGolangNavigate.refreshOnTyping": true,
  "codelensGolangNavigate.refreshDebounceMs": 100,
  "codelensGolangNavigate.logLevel": "info"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft