-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2 bugs in the SequenceDiagram JS plugin #182
Comments
A: When open a saved .sdt file, SequenceDiagram Core (plugin) try to find the root function in project source file. when it found null, (not foud), the messge "Open success! Method source not found, the navigation is disabled." are shows. this means, you can open and display the diagram, but no navigation function will work. That is how it's designed. the opening file is designed for two scenarios:
A: If the filename include "." in it. it will display last part in the whole name. same as class qualifiedName. This may change in next release. |
I'm sure it orign js file exist in the current project. This problem is very easy to reproduce. Create a Vite project in IDEA with the following contents. src/main.ts
src/a.ts
src/b.ts
src/c.ts
Right-click on the function main, select SequenceDiagram, and save the .sdt file to the current project. Open it. |
Nice and detailed example! it will help a lot. Thanks. |
I test for your example. the result is fine.
|
Describe the bug
When I open a saved .sdt file, the plugin shows "Open success! Method source not found, the navigation is disabled.".
When the js file name ends with .old.js, the plugin displays the file name as "old".
Plugin & IDE info:
The text was updated successfully, but these errors were encountered: