Skip to content

Commit

Permalink
rollback UAST to old generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanco committed Nov 10, 2022
1 parent 75e38eb commit 242d782
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# SequenceDiagram Changelog

## [Unreleased]
### Change
- rollback to old java/kotlin generator because UAST api will throw `UnsupportedOperatonException`

## [2.2.5]
### Added
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pluginGroup = vanstudio
pluginName = SequenceDiagram
pluginVersion = 2.2.5
pluginVersion = 2.2.6

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/SequenceDiagram-kotlin.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<idea-plugin>
<extensions defaultExtensionNs="SequenceDiagram">
<!-- <sequenceNavigable language="kotlin" implementationClass="vanstudio.sequence.ext.kotlin.KtSequenceNavigable"/>-->
<!-- <generator language="kotlin" implementationClass="vanstudio.sequence.ext.kotlin.KtGeneratorFactory"/>-->
<!-- <actionFinder language="kotlin" implementationClass="vanstudio.sequence.ext.kotlin.KtActionFinder"/>-->
<sequenceNavigable language="kotlin" implementationClass="vanstudio.sequence.ext.kotlin.KtSequenceNavigable"/>
<generator language="kotlin" implementationClass="vanstudio.sequence.ext.kotlin.KtGeneratorFactory"/>
<actionFinder language="kotlin" implementationClass="vanstudio.sequence.ext.kotlin.KtActionFinder"/>
<typeFinder language="kotlin" implementationClass="vanstudio.sequence.ext.kotlin.KtElementTypeFinder"/>
</extensions>
</idea-plugin>
10 changes: 5 additions & 5 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ The original version SequencePlugin come from ksibilev@yahoo.com.</p>

</extensions>
<extensions defaultExtensionNs="SequenceDiagram">
<sequenceNavigable language="UAST"
<sequenceNavigable language="JAVA"
implementationClass="vanstudio.sequence.generator.JavaSequenceNavigable"/>
<!-- <generator language="JAVA" implementationClass="vanstudio.sequence.generator.JavaGeneratorFactory"/>-->
<generator language="UAST" implementationClass="vanstudio.sequence.ext.uast.UastGeneratorFactory"/>
<!-- <actionFinder language="JAVA" implementationClass="vanstudio.sequence.generator.JavaActionFinder"/>-->
<actionFinder language="UAST" implementationClass="vanstudio.sequence.ext.uast.UastActionFinder"/>
<generator language="JAVA" implementationClass="vanstudio.sequence.generator.JavaGeneratorFactory"/>
<!-- <generator language="UAST" implementationClass="vanstudio.sequence.ext.uast.UastGeneratorFactory"/>-->
<actionFinder language="JAVA" implementationClass="vanstudio.sequence.generator.JavaActionFinder"/>
<!-- <actionFinder language="UAST" implementationClass="vanstudio.sequence.ext.uast.UastActionFinder"/>-->
<typeFinder language="JAVA" implementationClass="vanstudio.sequence.generator.JavaElementTypeFinder"/>
</extensions>
</idea-plugin>

0 comments on commit 242d782

Please sign in to comment.