Component/Action not registered
Reports plugin components and actions that are not registered in a plugin.xml descriptor.
This eases developing new components when using the "Create Class" intention and helps keep track of potentially obsolete components.
Provided quick-fix to register the component adds necessary registration in plugin.xml descriptor.
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
ComponentNotRegistered- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Configure the inspection:
Use the Check Actions option to turn off the check for Actions, as they may be intentionally created and registered dynamically.
Use the Ignore non-public classes option to ignore abstract and non-public classes.
Inspection ID: ComponentNotRegistered
Inspection options
Here you can find the description of settings available for the Component/Action not registered inspection, and the reference of their default values.
- Ignore non-public classes
Option ID:
IGNORE_NON_PUBLICDefault value:
Selected- Check Actions
Option ID:
CHECK_ACTIONSDefault value:
Selected
Suppressing Inspection
You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:
More detailed instructions as well as other ways and options that you have can be found in the product documentation:
Inspection Details | |
|---|---|
By default bundled with: |