Suggest suffix of "Async" instead of/in addition to the suffix of "Task" when creating an Async function or method.

Hello, 

When creating a new method that is on an async function or method, Resharper suggests the function name with a suffix of "Task" (as the return is either a Task or Task<T>). It would be helpful if resharper would suggest a suffix of "Async" instead of or in addition to "Task". 

I've setup rules to flag any async function or method to require the "Async" suffix in the Naming Style options. This does help catch the mistakes, but Resharper appears to ignore these rules when suggesting a name on creation. 

 

Thanks!

8
2 comments
Official comment

Hello!

 

Thank you for contacting us.

Similar request is reported in our issue tracker - https://youtrack.jetbrains.com/issue/RSRP-430497

You are welcome to comment or vote for it.

Thank you.

Angelina Elycheva That issue is about the naming rule, but we're talking about the auto-complete suggestion. Yes they are related, but as far as I can tell, the rule issue was fixed long ago because I've never run into it.

1

Please sign in to leave a comment.