Files
Andrey Cherkasovandintellij-monorepo-bot 2e5cd31c49 [devkit] LightServiceMigrationXMLInspection: provide quick-fix
...for the "Service class annotated with '@Service' must not be registered in the 'plugin.xml' file" warning. The provided quick-fix removes the service registration from the 'plugin.xml' file.

^IDEA-254577

GitOrigin-RevId: fdb96913323c60dc8551ff55dac24c04b3299dff
2023-12-13 20:03:20 +00:00

11 lines
491 B
XML

<idea-plugin>
<id>com.example.demo</id>
<extensionPoints>
<extensionPoint qualifiedName="com.intellij.applicationService" beanClass="com.intellij.openapi.components.ServiceDescriptor"/>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<<error descr="Service class annotated with '@Service' must not be registered in the 'plugin.xml' file">application<caret>Service</error> serviceImplementation="com.example.demo.MyService"/>
</extensions>
</idea-plugin>