keyboard Shortcut for file reference search

Oxygen general issues.
MaCXyLo
Posts: 1
Joined: Thu Aug 04, 2016 6:29 pm

keyboard Shortcut for file reference search

Post 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
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: keyboard Shortcut for file reference search

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply