You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just started to introduce this static code analysis tool to a project which follows certain conventions such as a prefix to each variable name depending on the type for instance string variables are prefixed with 'str'. I know that this can be done by creating a custom rule. However, I was wondering if it would be useful to the project and also possible to make this rule parameter and thus including a new dynamic feature.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I believe this should work for you now. You can set up the RequiredVariableNamePrefix parameter for the Variable name checker, or pass
-DVariableNameChecker.RequiredVariableNamePrefix=str,b,etc
I have just started to introduce this static code analysis tool to a project which follows certain conventions such as a prefix to each variable name depending on the type for instance string variables are prefixed with 'str'. I know that this can be done by creating a custom rule. However, I was wondering if it would be useful to the project and also possible to make this rule parameter and thus including a new dynamic feature.
Thanks in advance.
The text was updated successfully, but these errors were encountered: