Skip to content

Commit

Permalink
fix: service converted to light service API
Browse files Browse the repository at this point in the history
  • Loading branch information
iromeo committed Oct 10, 2024
1 parent 6d0f18e commit a5e1f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ package com.jetbrains.snakecharm.framework
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.BaseState
import com.intellij.openapi.components.PersistentStateComponent
import com.intellij.openapi.components.State
import com.intellij.openapi.components.Storage
import com.intellij.openapi.components.*
import com.intellij.openapi.project.Project
import com.intellij.openapi.projectRoots.ProjectJdkTable
import com.intellij.openapi.projectRoots.Sdk
Expand All @@ -17,6 +14,7 @@ import com.intellij.util.xmlb.annotations.Attribute
import com.jetbrains.python.PyNames
import com.jetbrains.snakecharm.SnakemakeIcons

@Service(Service.Level.PROJECT)
@State(name = "SmkProjectSettings", storages = [Storage("snakemake-settings.xml")])
class SmkSupportProjectSettings(val project: Project) : PersistentStateComponent<SmkSupportProjectSettings.State>,
Disposable {
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@

<projectService serviceImplementation="com.jetbrains.snakecharm.codeInsight.completion.wrapper.SmkWrapperStorage"/>

<projectService serviceImplementation="com.jetbrains.snakecharm.framework.SmkSupportProjectSettings"/>
<projectService serviceImplementation="com.jetbrains.snakecharm.codeInsight.ImplicitPySymbolsProvider"/>
</extensions>

Expand Down

0 comments on commit a5e1f59

Please sign in to comment.