Reports classes that can be marked as light services using the @com.intellij.openapi.components.Service annotation instead of being registered as services in plugin.xml

A service that is not intended for overriding is not required to be registered in the plugin.xml file. Instead, annotate the service class with the @Service annotation. For project-level services, specify @Service(Service.Level.PROJECT).

Requirements:

See Services in IntelliJ Platform Plugin SDK docs for more details.

See also the Plugin DevKit | Plugin descriptor | A service can be converted to a light one inspection.

New in 2023.2