Closed nathanbowang closed 1 year ago
Are you using https://plugins.jetbrains.com/plugin/7642-save-actions ?
No. I'm using this build-in feature. Enabled reformat code
on save.
I found an easy work around:
Open in external editor as PNG image
Then I can have a static diagram aside and auto-save will not be triggerd when editing other source files.
You can try it, I will release it tomorrow: plantuml4idea.zip
Thanks, I haven't managed to install it. But I will try.
It was released, just update.
Just tried. Perfect. Thanks.
PUML is a very helpful tool. And plantuml4idea makes visualisation more efficient. Recently, I draw a diagram and open it aside with the source code to implement it. All works very well except for a little glitch.
When the PUML diagram is open, all files, like .java .ts, will be auto-saved about every 2 seconds. Save will trigger code formatting according to my configuration. And code formatting will delete extra empty lines. So when I input a new line but haven't input any character, the line will be deleted in 2 seconds, which makes it very difficult to edit.
Could you please make this plugin only auto-save .puml files? Thanks.