Closed zvirja closed 7 years ago
R# 2016.2 still doesn't support async methods where task result is a reference type:
async Task<string> MethodAsync() => null; // [ItemNotNull] must be suggested
.
Removing the quick action would reduce the functionality.
Indeed! Missed that. In this case, should we just reduce functionality of your plugin to support that particular case only? Do you know about other cases that are not covered?
Also, I'd say that position should be exactly the same as it's for the build-in Item not null
action.
It was my miss. Actually, R# has this functionality, see demo:
Am I missing something?
@michael-damatov Any updates on this one? If you don't have time for these discussions - let me know and I'll just close this PR ;-)
Annotation action is already present in latest version of R#. There is no need to duplicate it.