Unused method : how to suppress inspection
I get a gulley full of `unused method` warnings in all my api implementation modules. as shown below
fyi they are all used, it is just that WebStorm cant figure it out. I can do without the bogus warnings, and focus on real issues.
tia -- Yves
请先登录再写评论。
Hit Alt+Enter on a highlighted method, then hit Right and choose 'Suppress for statement'. See https://www.jetbrains.com/help/webstorm/2017.2/suppressing-inspections.html#d218445e68
Nice stock answer Elena, but unworkable
// noinspection JSUnusedGlobalSymbols
also, not to mention the mandatory invalidate caches and restart.
>i only get 'delete method blabla' from alt-enter or bubble.
Please hit Right arrow key after hitting Alt+Enter, or press the > button next to 'delete method blabla'
Ah thank you Elena, today was a good day (I learned something :) )