For looper pre-increment/post-increment style

When I automatically generate a For Loop statement, the looper is always generated in the post-Increment style.

I want the pre-Increment style.

Is there a way to adjust this?

0
3 comments

Helllo Rageken, thank you for your question.

You can change the predefined "for" template in ReSharper | Tools | Templates Explorer. Or you can create a new template that will suit your requirements. Please let me know if you have any other questions. Thank you!

0

I changed all Iteration settings, but it's not working.

0

As far as I can see, on the GIF you are demonstrating the use of another template - the postfix template. Unfortunately, it is impossible to edit or add a new one postfix template, there is YouTrack issue about this.

The templates you have edited (live templates) will work when the template abbreviation is used to invoke the template:

Another option is to use Source Templates. Please let me know if you have any questions. Thank you!

0

Please sign in to leave a comment.