Hello Ian,
I think this happens because the Master Files support is disabled.
The "Go to definition" action from XSD, searches for the definition in
the "Search and Refactor Operations Scope". You can configure this scope
from Project menu -> "Change Search and Refactor operations scope". If
the scope is set on Project and "Use Master Files if enabled" is
checked, this means that it will search for declaration in the project,
if the master files support is disabled. You can enable the master file
support from Project- menu>Enable Master Files support, and the search
should be more fast. The search will be limited to the files added as
Master Files, including the current file.
You can find more details about "Search and Refactor Operations Scope"
in our user manual:
https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/search-refactor-scope.html
https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/xml-schema-search-references.html
https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/defining_master_files.html#defining_master_files
Best Regards,
Octavian
On 11.02.2021 17:34, Ian Skeaff wrote:
Hi Octavian, Roger,
If I may offer a suggestion, I’ve seen this issue, too, and it *seems*
to be related to the currently opened Oxygen project size (in terms of
file count)… The “Searching declaration of element '[name]’ in
project…” dialog can take a while, perhaps dependent on the number of
files being scanned in the project?
Using Oxygen XML Editor 22.1, build 2020100710
Cheers,
Ian
On Feb 11, 2021, at 2:13 AM, Oxygen XML Editor Support (Octavian
Nadolu) <supp...@oxygenxml.com <mailto:supp...@oxygenxml.com>> wrote:
Hello Roger,
Thanks for your feedback.
Unfortunately I could not reproduce the problem, I tested on
different XSD schemas. For example I tested on a docbook file with
the docbook.xsd schema associated, that has over 17000 lines. I used
<oXygen/> XML Editor 23.0, build 2020121712.
Maybe you can give us more details, about the Oxygen version that you
use, the platform, the XSD schema (a sample file wold be perfect).
Best Regards,
Octavian
On 10.02.2021 14:57, Roger L Costello wrote:
Hi Folks,
In XML Schema documents I can select a type, right-mouse-click,
select "Go to definition", and then Oxygen will take me to the type
definition. This is a great feature. However, in recent versions of
Oxygen, it has gotten really slow. For example, I have a schema file
that is 604 lines (i.e., a small schema). I selected a type,
right-mouse-clicked, and selected "Go to definition". It took 20
seconds for Oxygen to find the type. Why does it take so long? I
remember in previous editions of Oxygen it would take less than 2
seconds.
/Roger
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com>
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com <mailto: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
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user