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
{{ message }}
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
I was thinking last night in the middle of the night that we should have example code blocks that would trigger each inspection on the detail page of the inspection.
We already have a template and style for a "mock VBE debugger" that we could use to make it look/feel like VBA code.
I.e.: for Option Explicit Inspection:
Public Sub Test()
End Sub
Would highlight line 1.
The text was updated successfully, but these errors were encountered:
I don't know about the highlighting, but I was thinking to add two resource strings per inspection the other day (looking at the generated "details" pages). One would be a snippet that triggers the inspection, the other would be a similar snippet that doesn't trigger it.
For example, this would trigger UnassignedVariableUsage:
Private Sub DoSomething()
Dim foo As Long
Debug.Print foo
End Sub
And this similar snippet wouldn't:
Private Sub DoSomething()
Dim foo As Long
foo = 42
Debug.Print foo
End Sub
I was thinking last night in the middle of the night that we should have example code blocks that would trigger each inspection on the detail page of the inspection.
We already have a template and style for a "mock VBE debugger" that we could use to make it look/feel like VBA code.
I.e.: for
Option Explicit Inspection
:Would highlight line 1.
The text was updated successfully, but these errors were encountered: