Finding Files in Project View

I have a data set that has a large number of cryptically-named files in one directory, from which I need to find the one .ditamap file. Trying to use "Open/Find Resource" doesn't work because Oxygen wants to index stuff and on my machine that process never completes (or at least it doesn't in the time I'm willing to wait). What I'm looking for is really just a simple filter on the contents of the selected directory. Is that feature there somewhere I haven't noticed or is there a way to find this file in the project view? Thanks, Eliot ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com

Hi Eliot, have you tried "XPath in Files" (right click on folder in the 6th section of context menu? Hope this helps Markus

I'm looking for a file by filename, not looking for content within a file. Cheers, E. ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com On 6/8/16, 9:01 AM, "practice innovation" <info@practice-innovation.de> wrote:
Hi Eliot,
have you tried "XPath in Files" (right click on folder in the 6th section of context menu?
Hope this helps Markus

Hi Eliot, OK! Sorry, I was irritated by the word "content"... On the top right corner there is a "settings" icon. Click on it an there is a "Filters" menu. Only files which match a given pattern are shown (or hidden) ... Hope this helps now Markus

That does what I want, but it's kind of hidden and inconvenient. Would be nice to have an always-there filter field that just shows files matching the filter spec. Alternatively, would be nice to be able to create named filters so one can quickly select different filters, e.g. Show only DITA maps or whatever. Cheers, E. ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com On 6/8/16, 9:46 AM, "practice innovation" <info@practice-innovation.de> wrote:
Hi Eliot,
OK! Sorry, I was irritated by the word "content"... On the top right corner there is a "settings" icon. Click on it an there is a "Filters" menu. Only files which match a given pattern are shown (or hidden) ...
Hope this helps now Markus

Hi Eliot, Open/Find Resource was supposed to be used for this purpose, but it became slow since it supports searching in content (default enabled).
Trying to use "Open/Find Resource" doesn't work because Oxygen wants to index stuff and on my machine that process never completes (or at least it doesn't in the time I'm willing to wait). If you don't care about the content and only need the filenames, you can disable content indexing (that will insure a fast indexing of just the file names): Options > Preferences, Open/Find Resource, clear the box for "Enable searching in content".
Now you can use "Open/Find Resource" to quickly locate the file by file name. Indexing should finish in tens of seconds (less if you have few files) the first time. The second time it will be much faster, so it should be transparent from that point on. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 On 08.06.2016 16:57, Eliot Kimber wrote:
I have a data set that has a large number of cryptically-named files in one directory, from which I need to find the one .ditamap file.
Trying to use "Open/Find Resource" doesn't work because Oxygen wants to index stuff and on my machine that process never completes (or at least it doesn't in the time I'm willing to wait).
What I'm looking for is really just a simple filter on the contents of the selected directory.
Is that feature there somewhere I haven't noticed or is there a way to find this file in the project view?
Thanks,
Eliot
---- Eliot Kimber, Owner Contrext, LLC http://contrext.com
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user

That's useful to know about turning off indexing, but it's still not quite the feature I'm looking for because the search is not limited to the selected project resource (e.g., the directory I'm looking in). Cheers, E. ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com On 6/8/16, 9:58 AM, "Oxygen XML Editor Support (Adrian Buza)" <support@oxygenxml.com> wrote:
Hi Eliot,
Open/Find Resource was supposed to be used for this purpose, but it became slow since it supports searching in content (default enabled).
Trying to use "Open/Find Resource" doesn't work because Oxygen wants to index stuff and on my machine that process never completes (or at least it doesn't in the time I'm willing to wait). If you don't care about the content and only need the filenames, you can disable content indexing (that will insure a fast indexing of just the file names): Options > Preferences, Open/Find Resource, clear the box for "Enable searching in content".
Now you can use "Open/Find Resource" to quickly locate the file by file name. Indexing should finish in tens of seconds (less if you have few files) the first time. The second time it will be much faster, so it should be transparent from that point on.
Regards, Adrian
Adrian Buza oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482
On 08.06.2016 16:57, Eliot Kimber wrote:
I have a data set that has a large number of cryptically-named files in one directory, from which I need to find the one .ditamap file.
Trying to use "Open/Find Resource" doesn't work because Oxygen wants to index stuff and on my machine that process never completes (or at least it doesn't in the time I'm willing to wait).
What I'm looking for is really just a simple filter on the contents of the selected directory.
Is that feature there somewhere I haven't noticed or is there a way to find this file in the project view?
Thanks,
Eliot
---- Eliot Kimber, Owner Contrext, LLC http://contrext.com
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi, I'm afraid "Open/Find Resource" doesn't have a finer scope, only the entire project. Since "Open/Find Resource" appears in the contextual menu from the project for folders, it should have had a scope, but this was overlooked when it was implemented. I've submitted a request on our issue tracking tool. Possible (but impractical) workaround right now for "Open/Find Resource" is to search for the folder name first: */foldername* then you can continue to type the file name from within that folder. BTW, there is also the key search directly in the project tree (start typing with the focus in the Project) but that only works for expanded folders (what's visible) and only if you know what the file name starts with (prefix). You must also be pretty quick to type. If you pause too much, it resets. Regards, Adrian On 08.06.2016 18:13, Eliot Kimber wrote:
That's useful to know about turning off indexing, but it's still not quite the feature I'm looking for because the search is not limited to the selected project resource (e.g., the directory I'm looking in).
Cheers,
E. ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com
On 6/8/16, 9:58 AM, "Oxygen XML Editor Support (Adrian Buza)" <support@oxygenxml.com> wrote:
Hi Eliot,
Open/Find Resource was supposed to be used for this purpose, but it became slow since it supports searching in content (default enabled).
Trying to use "Open/Find Resource" doesn't work because Oxygen wants to index stuff and on my machine that process never completes (or at least it doesn't in the time I'm willing to wait). If you don't care about the content and only need the filenames, you can disable content indexing (that will insure a fast indexing of just the file names): Options > Preferences, Open/Find Resource, clear the box for "Enable searching in content".
Now you can use "Open/Find Resource" to quickly locate the file by file name. Indexing should finish in tens of seconds (less if you have few files) the first time. The second time it will be much faster, so it should be transparent from that point on.
Regards, Adrian
Adrian Buza oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482
On 08.06.2016 16:57, Eliot Kimber wrote:
I have a data set that has a large number of cryptically-named files in one directory, from which I need to find the one .ditamap file.
Trying to use "Open/Find Resource" doesn't work because Oxygen wants to index stuff and on my machine that process never completes (or at least it doesn't in the time I'm willing to wait).
What I'm looking for is really just a simple filter on the contents of the selected directory.
Is that feature there somewhere I haven't noticed or is there a way to find this file in the project view?
Thanks,
Eliot
---- Eliot Kimber, Owner Contrext, LLC http://contrext.com
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482

On Wed, Jun 08, 2016 at 10:13:43AM -0500, Eliot Kimber wrote:
That's useful to know about turning off indexing, but it's still not quite the feature I'm looking for because the search is not limited to the selected project resource (e.g., the directory I'm looking in).
Mail headers tell me you're on OS X and assuming you're working on the same system you can add a call to an external shell script in the External Tools and assign it a hotkey. If you run updatedb once per day (usually via a cronjob run as root) then the locate command will find anything on the system just like on any *nix. The only question is how you'd feed the filename to the locate command. Regards, Ben
participants (4)
-
Ben McGinnes
-
Eliot Kimber
-
Oxygen XML Editor Support (Adrian Buza)
-
practice innovation