0 Replies Last post: Mar 7, 2014 4:27 PM by Emil Palm  
Emil Palm Newbie 1 posts since
Mar 7, 2014
Currently Being Moderated

Mar 7, 2014 4:27 PM

Set allowed variable names



In our organisation we are trying to get rid of certain words and abbreviations in our code.

Is there a way to have ReSharper mark invalid variable and function-names based on a list?

Alternatively, can we make some pattern-rules for these words/abbreviations?


For example, we do not want anyone to use the prefix "my", as in "myFunction" or "myVariable".

Tried to set up a filter to catch these but did not get the code right.




More Like This

  • Retrieving data ...