D21287: Try to find always an unique visible document name without a number suffix
noreply at phabricator.kde.org
Sun May 19 12:16:34 BST 2019
loh.tar created this revision.
loh.tar added a reviewer: KTextEditor.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
loh.tar requested review of this revision.
When you e.g. work on multiple projects at the same time you have often the case that you have documents with a number suffix on tabs or other places like side bars. These suffix give no hint which file it really is.
This patch add some folder name to the document to make the name unique, which should be in any case more helpful than the number suffix.
- The unique names can change when you open a file
- The numbering is kept as fallback for rare cases. When it is in use are these numbers also not "static" like in case of "Untitled" documents
F6834935: no-patch.png <https://phabricator.kde.org/F6834935>
F6834936: patch.png <https://phabricator.kde.org/F6834936>
Hint: The shown "Documents" plugin did not notice name changes, keep this in mind when you play around
To: loh.tar, #ktexteditor
Cc: kwrite-devel, kde-frameworks-devel, #ktexteditor, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel