Skip to content

Commit

Permalink
Merge pull request #12 from shlaikov/develop
Browse files Browse the repository at this point in the history
Release 0.4.0
  • Loading branch information
shlaikov authored Jul 19, 2023
2 parents 60d5553 + aa4cc5f commit c3e604a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@

### Fixed
- Fixed infinite loading


## [0.4.0] - 2023-07-19
### Added
- Support for `bpmn20` and `bpmn20.xml` files
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginGroup = com.github.shlaikov.intellijbpmn2plugin
pluginName = intellij-bpmn2-plugin
pluginRepositoryUrl = https://github.com/shlaikov/intellij-bpmn2-plugin
# SemVer format -> https://semver.org
pluginVersion = 0.3.1
pluginVersion = 0.4.0

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 221
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.intellij.openapi.vfs.VirtualFile

class File {
companion object {
private val SUPPORTED_EXTENSIONS = arrayOf(".bpmn", ".bpmn.xml", ".bpmn2")
private val SUPPORTED_EXTENSIONS = arrayOf(".bpmn", ".bpmn.xml", ".bpmn2", ".bpmn20", ".bpmn20.xml")

fun isBPMNFile(file: VirtualFile?): Boolean {
if (file == null) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<extensions defaultExtensionNs="com.intellij">
<fileType name="bpmn" implementationClass="com.github.shlaikov.intellijbpmn2plugin.BPMN2FileType"
fieldName="INSTANCE" language="bpmn" extensions="bpmn;bpmn.xml;bpmn2" />
fieldName="INSTANCE" language="bpmn" extensions="bpmn;bpmn.xml;bpmn2;bpmn;bpmn20.xml;bpmn20" />
<fileEditorProvider implementation="com.github.shlaikov.intellijbpmn2plugin.editor.EditorProvider" />

<lang.syntaxHighlighterFactory language="bpmn" implementationClass="com.intellij.lang.xml.XmlSyntaxHighlighterFactory" />
Expand Down

0 comments on commit c3e604a

Please sign in to comment.