Feature request: wildcards or regex in directory filter

I don't know how feasible this is, but a feature that I have never seen in any editor is the ability to use a wildcard or regex in the directory path filter for functions such as search/replace and open files. Imagine in the "Find/Replace in Files->Specified Path" if I could specify something like: C:\dita\*\products\testproduct\user Where my directory structure contained a list of country codes where the * would go. I've been writing scripts to accommodate these kind of actions. The same functionality would be useful for opening files also. I often want to open a map and all of the translations of that map across many directories. C:\dita\*\products\testproduct\user\testmap.ditamap I'm curious how difficult something like that would be. AVIS : Ce courrier et ses pieces jointes sont destines a leur seul destinataire et peuvent contenir des informations confidentielles appartenant a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute lecture, divulgation, ou reproduction de ce message et des pieces jointes est strictement interdite. Si vous avez recu ce message par erreur merci d'en prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes. NOTICE: This message and attachments are intended only for the use of their addressee and may contain confidential information belonging to bioMerieux. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender immediately and delete this message, along with any attachments.

Hello Matthew, Actually wildcards are already supported in the "Open/Find Resource" view and dialog (Ctrl+Shift+R). However, I see that there is a bug here in that you are actually searching across URLs, not file paths. The dialog is misleading when it mentions file paths. This means it won't work when searching for C:\dita\*\products\testproduct\user but it will work correctly when searching for: file:/C:\dita\*\products\testproduct\user or the simpler: *C:\dita\*\products\testproduct\user I've submitted an issue on our issue tracking tools so that file paths (which are actually the ones advertised) will also be supported. Regarding the "Find/Replace in Files", I've logged a separate feature request to support wildcards for directories. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.202 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com On 23.08.2013 17:58, KAATMAN Matthew wrote:
I don't know how feasible this is, but a feature that I have never seen in any editor is the ability to use a wildcard or regex in the directory path filter for functions such as search/replace and open files.
Imagine in the "Find/Replace in Files->Specified Path" if I could specify something like:
C:\dita\*\products\testproduct\user
Where my directory structure contained a list of country codes where the * would go.
I've been writing scripts to accommodate these kind of actions.
The same functionality would be useful for opening files also. I often want to open a map and all of the translations of that map across many directories. C:\dita\*\products\testproduct\user\testmap.ditamap
I'm curious how difficult something like that would be.
AVIS : Ce courrier et ses pieces jointes sont destines a leur seul destinataire et peuvent contenir des informations confidentielles appartenant a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute lecture, divulgation, ou reproduction de ce message et des pieces jointes est strictement interdite. Si vous avez recu ce message par erreur merci d'en prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes. NOTICE: This message and attachments are intended only for the use of their addressee and may contain confidential information belonging to bioMerieux. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender immediately and delete this message, along with any attachments.
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
KAATMAN Matthew
-
Oxygen XML Editor Support