Skip to content

gostructs/gostructs-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gostructs-vscode

VS Code extension for gostructs - detect unused and duplicate structs in Go code.

Requirements

go install github.com/gostructs/gostructs@latest

Features

  • Detects unused structs in Go code
  • Detects duplicate struct definitions
  • Shows diagnostics in the Problems panel
  • Runs automatically on file save
  • Manual analysis via command palette

Commands

Command Description
GoStructs: Run Analysis Run gostructs analysis
GoStructs: Clear Diagnostics Clear all diagnostics

Configuration

Setting Default Description
gostructs.enable true Enable GoStructs extension
gostructs.runOnSave true Run analysis automatically on file save
gostructs.binaryPath "gostructs" Path to gostructs binary
gostructs.severity "warning" Default diagnostic severity (error, warning, information, hint)

License

BSD 3-Clause

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published