0 Replies Last post: 07.03.2014 16:27 by Emil Palm  
Emil Palm Newbie 1 posts since
Currently Being Moderated

07.03.2014 16:27

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 ...