Files
Andrey Cherkasovandintellij-monorepo-bot e59d2a751e [devkit] LightServiceMigrationInspection: provide quick-fix
...for the "Service can be converted to a light service" warning. The provided quick-fix annotates the service class with '@Service' and removes its registration from the 'plugin.xml' file.

^IDEA-254577

GitOrigin-RevId: 55cace08aa3beade8fb5e28532a29df459e2c1f0
2023-12-13 20:03:28 +00:00

11 lines
443 B
XML

<idea-plugin>
<id>com.example.demo</id>
<extensionPoints>
<extensionPoint qualifiedName="com.intellij.projectService" beanClass="com.intellij.openapi.components.ServiceDescriptor"/>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<<warning descr="Service can be converted to a light service">project<caret>Service</warning> serviceImplementation="com.example.demo.MyService"/>
</extensions>
</idea-plugin>