Dealing with "Method can be made static"

I have lots of these warnings and believe I understand their advantages,
but is there an easier way to cleanup the warnings other than clicking on
each yellow tick in the right hand margin? Two potential fixes follow:

1. NAVIGATE TO NEXT WARNING
Is there a shortcut key that lets me navigate to each warning so I can inspect
each instance individually?

2. ACCEPT QUICK FIXES FOR ALL WARNINGS OF THIS TYPE
Is there a shortcut to make the suggested quickfix apply to multiple instances?

Again, thanks for the great tool.


2 comments
Comment actions Permalink

Hello flipdoubt,

you can use the ReSharperAddIn25.GotoNextError command, normally assigned
to F12 shortcut, for navigation between errors and warnings.



Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


I have lots of these warnings and believe I understand their
advantages, but is there an easier way to cleanup the warnings other
than clicking on each yellow tick in the right hand margin? Two
potential fixes follow:

1. NAVIGATE TO NEXT WARNING
Is there a shortcut key that lets me navigate to each warning so I can
inspect
each instance individually?
2. ACCEPT QUICK FIXES FOR ALL WARNINGS OF THIS TYPE Is there a
shortcut to make the suggested quickfix apply to multiple instances?

Again, thanks for the great tool.



0
Comment actions Permalink

I've been asking for an option to "Fix all like this" in the quick fixes for
what seems like years :)


"flipdoubt" <flipdoubt@nospam.com> wrote in message
news:da27a8e44c83b8c8f16abf359c46@news.jetbrains.com...
>I have lots of these warnings and believe I understand their advantages,
>but is there an easier way to cleanup the warnings other than clicking on
>each yellow tick in the right hand margin? Two potential fixes follow:
>

1. NAVIGATE TO NEXT WARNING
Is there a shortcut key that lets me navigate to each warning so I can
inspect each instance individually?

>

2. ACCEPT QUICK FIXES FOR ALL WARNINGS OF THIS TYPE
Is there a shortcut to make the suggested quickfix apply to multiple
instances?

>

Again, thanks for the great tool.

>



0

Please sign in to leave a comment.