Code style settings for instance members qualification

First congratulations for a quite stable first EAP of R# 9.

While playing around with the new code style options i stumbled over the "instance members qualification" section. I primary work on older solutions which use Windows Forms. My customer has a convention to prefix all methods of the Form base class with "this". With R# 8 i only could completely enable or disable the inspections. The new extended possibilities are a bit better, but if i enable the "use this. qualifier for..." all methods i declare in my Form child class are marked with the warning "qualifier 'this.' is missing". Ok, i can change the severity to "Hint" or "Do not show", but you have a checkbox "Qualify members declared in same class only". Wouldn't it make sense to add a reverse option "Qualify members declared in parent class only"?



Please sign in to leave a comment.