Skip to content

Commit

Permalink
Associate with bpmn file by default
Browse files Browse the repository at this point in the history
  • Loading branch information
valb3r committed Aug 12, 2023
1 parent 734692a commit 6b80fae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ abstract class BaseBpmnPluginSettingsState: PersistentStateComponent<BaseBpmnPlu

var dataFontSize = 12
var dataFontName = "Consolas"
var openExtensions = mutableSetOf("bpmn20.xml")
var openExtensions = mutableSetOf("bpmn", "bpmn20.xml")

var enableFps = false
var disableXsdSchema = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,4 @@ import com.intellij.openapi.components.Storage
import com.valb3r.bpmn.intellij.plugin.core.settings.BaseBpmnPluginSettingsState

@State(name = "CamundaBpmnPluginSettingsState", storages = [Storage("valb3r-camunda-bpmn-editor-plugin.xml")]) // fancy XML name to avoid collisions
class CamundaBpmnPluginSettingsState: BaseBpmnPluginSettingsState() {

init {
pluginState.openExtensions = mutableSetOf("bpmn")
}
}
class CamundaBpmnPluginSettingsState: BaseBpmnPluginSettingsState()

0 comments on commit 6b80fae

Please sign in to comment.