Consider specific Annotations for UserForms #6206
Labels
enhancement
Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
feature-inspections
up-for-grabs
Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky
What
When using Code Inspection for userforms the following items come up:
Ignoring these instances at Module level will apply '@IgnoreModule HungarianNotation
Which will suppress any internal variable from marking in the Code.
Why
I understand that Systems HungarianNotaion is bad however in user forms you often have multiple control elements representing as single object such as a Label, TextBox and maybe even a button or two. It becomes a nightmare to manage when there is such a bad mix of Data and Logic together and that is just the nature of userforms.
I would recommend something like '@IgnoreUserForm HungarianNotation which would suppress any references to things like lblPassword txtPassword if Password is a Form Control along with any functions that occur for that control without excluding the inspection for Real Code.
Example
The text was updated successfully, but these errors were encountered: