Default Exception name "ex" instead of "e"


Live templates and surround templates offer `try`

They contain parameter `$EX_NAME$` which suggests a variable name.

For me it defaults to `e`.

Is there any way to make it suggest `ex` by default?

I know, I can use a constant string instead of a parameter, but that is not the ideal solution.

1 comment


Thank you for contacting us.

Please try the following steps:

1. Go to ReSharper | Tools | Templates Explorer

2. Open the "try" template" 

3. For the EX_NAME parameter choose the macro "Constant value" 

4. Specify "ex" in the field

See the screenshots below for clarification. 


Please sign in to leave a comment.