mirror of
https://github.com/chylex/IntelliJ-Rainbow-Brackets.git
synced 2025-04-11 03:15:49 +02:00
Add support for Settings Sync
This commit is contained in:
parent
2977a08009
commit
f4b6bc7637
@ -5,4 +5,5 @@ This is a fork of the [🌈Rainbow Brackets](https://github.com/izhangzhihao/int
|
||||
## Key Changes
|
||||
|
||||
- Support for CLion and Rider
|
||||
- Support for Settings Sync
|
||||
- Fixed service initialization warnings reported by 2024.2+
|
||||
|
@ -2,12 +2,13 @@ package com.chylex.intellij.coloredbrackets.settings
|
||||
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.components.PersistentStateComponent
|
||||
import com.intellij.openapi.components.SettingsCategory
|
||||
import com.intellij.openapi.components.State
|
||||
import com.intellij.openapi.components.Storage
|
||||
import com.intellij.util.xmlb.XmlSerializerUtil.copyBean
|
||||
import org.jetbrains.annotations.Nullable
|
||||
|
||||
@State(name = "ColoredBracketsSettings", storages = [Storage("colored_brackets.xml")])
|
||||
@State(name = "ColoredBracketsSettings", storages = [Storage("colored_brackets.xml")], category = SettingsCategory.UI)
|
||||
class RainbowSettings : PersistentStateComponent<RainbowSettings> {
|
||||
/**
|
||||
* default value
|
||||
|
Loading…
Reference in New Issue
Block a user