mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
PY-75554: Open logical structure tab when requested
GitOrigin-RevId: 3a132e0dd89810cddad46a2680421b9c991d00e9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e2e93d8dae
commit
5535d780da
@@ -5,10 +5,12 @@ import com.intellij.openapi.components.*
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.project.ProjectManager
|
||||
import com.intellij.util.xmlb.XmlSerializerUtil
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
@Service(Service.Level.PROJECT)
|
||||
@State(name = "StructureViewState", storages = [(Storage(value = StoragePathMacros.WORKSPACE_FILE))])
|
||||
internal class StructureViewState : PersistentStateComponent<StructureViewState> {
|
||||
@ApiStatus.Internal
|
||||
class StructureViewState : PersistentStateComponent<StructureViewState> {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun getInstance(project: Project): StructureViewState = project.service()
|
||||
|
||||
Reference in New Issue
Block a user