esteinberg / plantuml4idea

Intellij IDEA plugin for PlantUML
Apache License 2.0
633 stars 113 forks source link

New file export dialog should remember the previous directory #297

Closed uhafner closed 3 years ago

uhafner commented 3 years ago

Thanks for adding a configuration of the default file extension in the latest version of the plugin. This new feature introduced a usability regression: before that change the dialog remembered its last directory. Now the dialog starts always from the current directory. It would be helpful if the dialog would remember that last export directory.

Steps to reproduce:

  1. Open export dialog: Current directory is the same directory that contains the diagram
  2. Change directory
  3. Save: Diagram is saved in new directory
  4. Open export dialog: Current directory is the same directory that contains the diagram

Expected behavior: In last step 4. I would expect that the dialog shows the previous export directory that has been used in step 2.

krasa commented 3 years ago

Hmm I was afraid someone will not like it. I will have to add configuration for this too.

krasa commented 3 years ago

You can try it, it is disabled by default: plantuml4idea.zip

uhafner commented 3 years ago

Thanks for the quick fix! It works like a charm 🎉