forked from rubberduck-vba/Rubberduck
-
Notifications
You must be signed in to change notification settings - Fork 12
ModuleOptionsNotSpecifiedFirstInspection
Mathieu Guindon edited this page Feb 23, 2015
·
2 revisions
Description: Module options should be specified first
Type: CodeInspectionType.CodeQualityIssues
Default severity: CodeInspectionSeverity.Suggestion
This inspection finds code modules where options are not specified first in the module's declarations section.
###Example:
Module options are not specified first in a module like this:
Option Compare Database
Private foo As Integer
Option Explicit
Private bar As String
Option Private Module
Option Base 0
Module options affect how the code in a module works and compiles; specifying them first in the module improves maintainability.
###QuickFixes
This inspection does not have any quickfix implemented in v1.2; this may change in future versions.