Improve VBA IDE: Highlight start and end of Blocks e.g. If/End If, With/End With, Do/Loop etc
It would be great if the VBA IDE would highlight...
(a) The start and of Blocks such as If/End If. So if you highlighted the "If" the matching "End If" would also be highlighted. This would be great for both coding but also auditing inherited code.
(b) Highlight incomplete Blocks: so if you start "If" it's red until such time the closing "End If" is added
Go a step further and highlight end brackets to make nested code easier to debug.
Would be quite nice. Pushing it a bit further, code folding would be nirvana.
Ozair Khalid commented
Yes, this would help so much with code review and debugging.
Great idea! Very useful, especially for multiple nested statements.
This would be such a time saver when working with nested blocks. I have to resort to 3rd party software sometimes, just to make sure everything matches up.
Juan Soto, Access MVP commented
Wonderful idea Greg!