mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Example code - removed application service
This commit is contained in:
parent
78aa8b4db4
commit
2be34f79b2
@ -20,6 +20,9 @@
|
|||||||
### Fixed
|
### Fixed
|
||||||
- Resolving the content for the `patchPluginXML.changeNotes` proeprty
|
- Resolving the content for the `patchPluginXML.changeNotes` proeprty
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- Example code - application service
|
||||||
|
|
||||||
## [1.4.0] - 2023-01-13
|
## [1.4.0] - 2023-01-13
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
package org.jetbrains.plugins.template.services
|
|
||||||
|
|
||||||
import org.jetbrains.plugins.template.MyBundle
|
|
||||||
|
|
||||||
class MyApplicationService {
|
|
||||||
|
|
||||||
init {
|
|
||||||
println(MyBundle.message("applicationService"))
|
|
||||||
|
|
||||||
System.getenv("CI")
|
|
||||||
?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
|
|
||||||
}
|
|
||||||
}
|
|
@ -9,7 +9,6 @@
|
|||||||
<resource-bundle>messages.MyBundle</resource-bundle>
|
<resource-bundle>messages.MyBundle</resource-bundle>
|
||||||
|
|
||||||
<extensions defaultExtensionNs="com.intellij">
|
<extensions defaultExtensionNs="com.intellij">
|
||||||
<applicationService serviceImplementation="org.jetbrains.plugins.template.services.MyApplicationService"/>
|
|
||||||
<projectService serviceImplementation="org.jetbrains.plugins.template.services.MyProjectService"/>
|
<projectService serviceImplementation="org.jetbrains.plugins.template.services.MyProjectService"/>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user