Module Without Folder

Indicates that a user module is missing a @Folder Rubberduck annotation.

 NEW! This inspection is only available in pre-release builds.


Modules without a custom @Folder annotation will be grouped under the default folder in the Code Explorer toolwindow. By specifying a custom @Folder annotation, modules can be organized by functionality rather than simply listed.

Default severity


Inspection type



This example should trigger a result

MyModule (StandardModule)
Option Explicit ' ...

This example should NOT trigger a result

MyModule (StandardModule)
'@Folder("Foo") Option Explicit ' ...

Rubberduck.CodeAnalysis.Inspections.Concrete.ModuleWithoutFolderInspection.cs (Prerelease-v2.5.2.6174)