Custom search pattern - Force ending in class/interface name

Hi,

is it possible to define a rule that will check if an interface which is decorated with an certain attribute has a suffix, for example having:

[ServiceContract] 
public interface IMath

should be 

[ServiceContract] 
public interface IMathServiceContract

Every interface decorated with "ServiceContract" should end with "ServiceContract".

 

 

 

1 comment
Comment actions Permalink
Official comment

Hello Adrian,

Here's similar feature request - https://youtrack.jetbrains.com/issue/RSRP-398063.

You are welcome to comment or vote for it.

Thank you.

Please sign in to leave a comment.