valb3r / flowable-bpmn-intellij-plugin

Flowable, Activiti, Camunda BPMN engines process editor plugin for IntelliJ. Pure Kotlin (and some Java)
https://plugins.jetbrains.com/plugin/14318-flowable-bpmn-visualizer
MIT License
156 stars 31 forks source link

Only show No file opened [0.5.4.2] #378

Closed LinWanCen closed 8 months ago

LinWanCen commented 8 months ago

it only show as this, but can not see View BPMN...menu item, set keymap to alt+z and use, it as so show as this

No file opened. Create new or open existing BPMN file.
To open file - select it in  Project Tree
right click on it to open context menu
and click on 'View BPMN...menu item

BPMN definition

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions
 xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
 xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
 xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
 xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
 xmlns:modeler="http://camunda.org/schema/modeler/1.0"
 id="Definitions_16us1kf"
 targetNamespace="http://bpmn.io/schema/bpmn"
 exporter="Camunda Modeler"
 exporterVersion="4.9.0"
 modeler:executionPlatform="Camunda Platform"
 modeler:executionPlatformVersion="7.15.0">

IntelliJ version (please complete the following information): IntelliJ IDEA 2023.2.5 (Ultimate Edition) Build #IU-232.10227.8, built on November 9, 2023 Subscription is active until April 17, 2024. For non-commercial open source development only. Runtime version: 17.0.9+7-b1000.46 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 3938M Cores: 16 Registry: debugger.new.tool.window.layout=true ide.experimental.ui=true

Non-Bundled Plugins: com.github.linwancen.plugin.sql (1.00.2023.11.21_22.01) Batch Scripts Support (1.0.13) com.github.camork.fileExpander (2.3) com.github.linwancen.plugin.author (1.06.2022.12.25_17.12) org.jetbrains.kotlin (232-1.9.21-release-633-IJ10072.27) com.github.linwancen.plugin.compare (1.01.2023.11.21_22.01) com.jetbrains.packagesearch.intellij-plugin (232.9921.28) GrepConsole (12.22.1-IJ2021.1) com.starxg.mybatis-log-plugin-free (1.3.0) org.sonarlint.idea (10.0.1.77000) activiti-bpmn-visualizer (0.5.4.2) PlantUML integration (7.3.0-IJ2023.2) de.docksnet.puml.syntaxchecker (0.2.0) MavenRunHelper (4.27.0-IJ2022.2) com.github.linwancen.drawgraph (1.04.2023.11.23_18.44) cn.yiiguxing.plugin.translate (3.5.6) com.ccnode.codegenerator.MyBatisCodeHelperPro (3.2.7) zielu.gittoolbox (500.0.23+222) io.github.linwancen.show-comment (2.12.0.2023.11.28_19.15)

Kotlin: 232-1.9.21-release-633-IJ10072.27

valb3r commented 8 months ago

@LinWanCen Thanks for feedback. The file seems to be of Camunda dialect (due to http://camunda.org/schema/modeler/1.0). Please try https://plugins.jetbrains.com/plugin/17844-camunda-bpmn-visualizer - the Camunda BPMN Visualizer is specifically for Camunda.

If you want to use the Activiti plugin, please check https://github.com/valb3r/flowable-bpmn-intellij-plugin#q-my-files-for-activitiflowable-engine-have-bpmn-extension-and-not-bpmn20xml-how-can-i-open-them You need need to add bpmn extension accordingly