Page 1 of 1

Limit open/find ressource scope

Posted: Tue Feb 13, 2024 5:25 pm
by Oleksii
Dear team,

Currently, the "open/find resource" feature (https://www.oxygenxml.com/doc/versions/ ... Cressource) searches all files within the scope of the XPR project. However, I need to limit this scope. I tried adjusting the "Change Search and Refactor operations scope" preference on the project level, where I defined working sets within which I want to perform searches. However, it seems that these two features are not connected with each other.
Is there any possibility to achieve my goal?

<oXygen/> XML Editor 26.0, build 2024012406

Re: Limit open/find ressource scope

Posted: Wed Feb 14, 2024 9:41 am
by sorin_carbunaru
Hi,

Yes, I think those 2 features are indeed not connected. You could try going to the Options menu > Preferences > Open/Find Resource page and adjust the settings from there.

Cheers,
Sorin Carbunaru
Oxygen XML Editor

Re: Limit open/find ressource scope

Posted: Mon Mar 04, 2024 12:52 pm
by Oleksii
If I need to exclude a drive completely, is it correct to add

Code: Select all

K:/**/*
(on Windows) to the "ignore these files" option?

Code: Select all

*.tmp, *.temp, *.bak, *.fo, *~, */.*, */temp/*, */out/*, K:/**/*, L:/**/*
Currently, the indexing lasts already for ~1 hour (260K items), so it seems that the drives are still indexed.

Re: Limit open/find ressource scope

Posted: Wed Mar 06, 2024 12:28 pm
by Radu
HI Oleksii,

I would probably use something like this:

Code: Select all

*C:/*
so add a wildcard also at the beginning, this seemed to work for me.
Or in the Preferences->Open/Find Resource page check the "Only index files indexed in the DITA Map as resource only".

Or of course avoid adding your entire drive in the Project :)

Regards,
Radu