Any idea to annotate unused argument of a func in Golang + IntelliJ IDEA 15?

Answered

Hi,

I have sometimes forget using some arguments in a func like this,

In this case, I hope annotate this "unsusedParam" is "Unused argument in GetName()" in IntelliJ IDEA 15.

Are there some good plugins or way to annotate like this situation?

2 comments
Comment actions Permalink

There is a related request at https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2294. When the inspection is available, there should be a way to suppress it with an annotation.

1
Comment actions Permalink

Thanks,

It seems there is a commit and it's in a review status, so I hope this feature will be released near the future.

0

Please sign in to leave a comment.