Page 1 of 1

keyboard Shortcut for file reference search

Posted: Thu Aug 04, 2016 6:49 pm
by MaCXyLo
Hi,
i have a xml file where this is defined:
<para>&_ZoomToCommand;</para>

In an ENT-file at the project directory this is defined:
<!ENTITY _ZoomToCommand '<link xlink:href="../path/to/ZoomToCommand.html"><classname>ZoomToCommand</classname></link>'>

I want to jump to the location in the ENT-File.
Is there a shortcut available for that?

Kind Regards

Re: keyboard Shortcut for file reference search

Posted: Fri Aug 05, 2016 2:43 pm
by adrian
Hi,

There is no action (and thus no shortcut) that jumps to the location where an entity is defined (as of v18.0 of Oxygen).
I have logged a feature request on our issue tracking tool. We will notify this thread when it is implemented.

As a workaround, a plain text search in the appropriate context may still help:
1. Select the name of the entity "_ZoomToCommand".
2. Invoke "Find/Replace in Files" (Ctrl+Shift+H). "Text to find" should already be filled with your selection (the name of the entity).
3.(optional) To avoid finding entity references, insert before the name of the entity "ENTITY " (or "ENTITY\s+" with "Regular expression" enabled).
4. Select the appropriate Scope and Filters (* includes all files).
5. Press "Find All".

Regards,
Adrian