Search code examples
vbarubberduck

With the Rubberduck VBE add in is there a way to disable inspections on a module level?


I have a few modules in my project that either:

use code from the internet that I don't understand but works so I don't want to touch them

or use really old, unmaintainable code that is in the process of being replaced

I am aware of the @Ignore annotation but is there a way to ignore ALL inspections?


Solution

  • Figured it out @Ignore requires additional parameters @IgnoreModule ignores everything without needing additional parameters

    More info https://rubberduckvba.com/Annotations/Details/Ignore https://rubberduckvba.com/Annotations/Details/IgnoreModule