Suggest exceptions to catch when typing try/catch block.

I have a suggestion. Modify resharper to suggest exceptions to catch with a try catch block.

For example, File.ReadAllText throws the following exceptions. If resharper could  display these as I type the catch block it would be very useful. I realise Exceptional for Resharper (plugin) sort of does this but it seems such a useful feature that it could be integrated into the stock resharper.

Comment actions Permalink
Official comment

Hello Thomas,

Thanks for the suggestion.

Since there is already "Exceptional" plugin which provides the same feature, we are not going to do the same things in ReSharper.


Comment actions Permalink

The Exceptional plugin does not appear to be supported, it won't work with the most recent ReSharper.  The last version they claim to support is 2016.3.  Is there some other plugin that does this (I got all excited...).


Comment actions Permalink

This feature, does it exist still? Is there some kind of solution to get the all exceptions generated automatically? Could this be added if Exceptional plugin isn't supported? Everything that automates and makes work more reliable and easier to do without errors, should be added into ReSharper.


Please sign in to leave a comment.