File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
kotlin/com/github/blarc/ai/commits/intellij/plugin Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import com.intellij.openapi.application.ApplicationManager
1111import com.intellij.openapi.components.Service
1212
1313
14- @Service
14+ @Service( Service . Level . APP )
1515class OpenAIService {
1616
1717 companion object {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.github.blarc.ai.commits.intellij.plugin.settings
22
33import com.github.blarc.ai.commits.intellij.plugin.AICommitsUtils
44import com.intellij.openapi.components.PersistentStateComponent
5+ import com.intellij.openapi.components.Service
56import com.intellij.openapi.components.State
67import com.intellij.openapi.components.Storage
78import com.intellij.util.xmlb.XmlSerializerUtil
@@ -10,6 +11,7 @@ import com.intellij.util.xmlb.XmlSerializerUtil
1011 name = ProjectSettings .SERVICE_NAME ,
1112 storages = [Storage (" AICommit.xml" )]
1213)
14+ @Service(Service .Level .PROJECT )
1315class ProjectSettings : PersistentStateComponent <ProjectSettings ?> {
1416
1517 companion object {
@@ -29,4 +31,4 @@ class ProjectSettings : PersistentStateComponent<ProjectSettings?> {
2931 }
3032
3133
32- }
34+ }
Original file line number Diff line number Diff line change 6060 Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->
6161 <extensions defaultExtensionNs =" com.intellij" >
6262 <applicationService serviceImplementation =" com.github.blarc.ai.commits.intellij.plugin.settings.AppSettings" />
63- <applicationService serviceImplementation =" com.github.blarc.ai.commits.intellij.plugin.OpenAIService" />
6463
65- <projectService serviceImplementation =" com.github.blarc.ai.commits.intellij.plugin.settings.ProjectSettings" />
6664
6765 <applicationConfigurable
68- parentId =" tools"
69- instance =" com.github.blarc.ai.commits.intellij.plugin.settings.AppSettingsConfigurable" />
66+ parentId =" tools"
67+ instance =" com.github.blarc.ai.commits.intellij.plugin.settings.AppSettingsConfigurable"
68+ key =" name"
69+ />
7070
7171 <projectConfigurable
7272 parentId =" com.github.blarc.ai.commits.intellij.plugin.settings.AppSettingsConfigurable"
7373 instance =" com.github.blarc.ai.commits.intellij.plugin.settings.ExclusionsConfigurable"
7474 id =" com.github.blarc.ai.commits.intellij.plugin.settings.ExclusionsConfigurable"
75- key =" settings.exclusions.group.title" />
75+ key =" settings.exclusions.group.title"
76+ />
7677
7778 <notificationGroup
7879 id =" ai.commits.notification.general"
8586 key =" notification.group.important.name"
8687 />
8788 <postStartupActivity
88- implementation =" com.github.blarc.ai.commits.intellij.plugin.listeners.ApplicationStartupListener" />
89+ implementation =" com.github.blarc.ai.commits.intellij.plugin.listeners.ApplicationStartupListener"
90+ />
8991
9092 </extensions >
9193
You can’t perform that action at this time.
0 commit comments