mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Example implementation: invoke TODO()
only if not CI
This commit is contained in:
parent
375f6963fa
commit
0644b59d8e
@ -10,6 +10,7 @@ internal class MyProjectManagerListener : ProjectManagerListener {
|
|||||||
override fun projectOpened(project: Project) {
|
override fun projectOpened(project: Project) {
|
||||||
project.service<MyProjectService>()
|
project.service<MyProjectService>()
|
||||||
|
|
||||||
TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
|
System.getenv("CI")
|
||||||
|
?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,8 @@ class MyApplicationService {
|
|||||||
init {
|
init {
|
||||||
println(MyBundle.message("applicationService"))
|
println(MyBundle.message("applicationService"))
|
||||||
|
|
||||||
TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
|
System.getenv("CI")
|
||||||
|
?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ class MyProjectService(project: Project) {
|
|||||||
init {
|
init {
|
||||||
println(MyBundle.message("projectService", project.name))
|
println(MyBundle.message("projectService", project.name))
|
||||||
|
|
||||||
TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
|
System.getenv("CI")
|
||||||
|
?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user