Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-gocycloNew to Visual Studio Code? Get it now.
vscode-gocyclo

vscode-gocyclo

Hiroaki Sano

|
85 installs
| (0) | Free
vscode-gocyclo shows cyclomatic complexities of functions in Go source code using gocyclo
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-gocyclo

vscode-gocyclo displays the cyclomatic complexities of functions in Go source code, utilizing gocyclo for the calculations. It automatically calculates the cyclomatic complexities of functions and displays the scores when you hover over a function. Whenever you modify and save a Go file, the complexities are recalculated to reflect the latest changes.

Requirement

To use vscode-gocyclo, you must have gocyclo installed on your system.

Usage

Simply hover over a function within a Go source file. This extension displays the cyclomatic complexity, for example, Cyclomatic complexity: 18 (calculated by gocyclo), as shown in the image below.

1.png

Using icooon-mono.com

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft