Closed anb0s closed 7 years ago
I have made a pre-release available at http://files.idi.ntnu.no/publish/plantuml-pre/repository/ that includes preliminary support for pinning a view to a specific editor. Is this what you had in mind? I have not yet implemented means for creating multiple views. Should this happen automatically when you pin a view or should there be a "spawn new view" button?
Wow, great!
Pinning is working like expected, just two points:
The creating of new view should be done explicitly with a button, like in Console View:
Thanks!
I've made another pre-release available, that sets the tooltip of the pin button to indicate the file it is pinned to and that includes a button for opening new views.
Multiple views are working! I'm very happy with this now :) Thanks!
Some investigations so far:
From my point of view the issue solved with described corner cases. I will create separate enhancement requests for the "Open / Jump to/ Show In" feature described above and drag&drop support as nice to have. Thank You again!
I also noticed the first problem you mentioned above, I think it's because I changed slightly the persisted state of the view. Concerning the latter problem, it's not always obvious of when the view should be cleared, and I haven't systematically considered all cases. I'll close this issue after the next release, and then you and others can create new issues where details can be discussed.
My colleagues are asking me about this enhancement, should i recommend the test build you provided here or should we wait for the official release? Thank You!
It will be part of a new release coming very soon.
It would be good to have multiple PlantUML views opened with the possibility to pin one or all of them to different sources (editors).
Similar is possible in other Eclipse views like "Search View":![image](https://cloud.githubusercontent.com/assets/95811/24037825/507662b6-0aff-11e7-9c7b-4bb6c6d4fa50.png)
or "Console View):![image](https://cloud.githubusercontent.com/assets/95811/24037889/9ad4f67e-0aff-11e7-9a97-ff90f0ab96d2.png)