Skip to content

vipkek/gouse-idea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gouse-idea

Toggle ‘declared and not used’ errors in Go by using idiomatic _ = notUsedVar and leaving a TODO comment. a demo gif

Quick Action

quick action demo

One-Click Install

one-click install demo

Context Menu

context menu demo

Find Action

find action demo

Dependencies

gouse is required.

go install github.com/looshch/gouse/v2@latest

Usage

gouse: Toggle ‘declared and not used’ errors toggles the errors in a file.

The plugin also adds a light-bulb quick action that runs gouse for the current file.

You can run the same action from the editor right-click context menu or from Find Action.

If gouse is missing, the plugin can offer a one-click install. That still requires the Go toolchain to be available on your PATH.

If gouse is installed somewhere non-standard, set the executable path in Settings | Tools | gouse.

By default, if gouse.path is empty and gouse is already installed, the plugin tries to update gouse to the latest version in the background on startup. You can disable this with the startup auto-update checkbox in settings.

About

Toggle ‘declared and not used’ errors in Go in IntelliJ IDEA family.

Resources

License

Stars

Watchers

Forks

Contributors