Open/Find Resource Dialog Box
The Open/Find Resource dialog box offers advanced search capabilities. To open the dialog box, go to . You can also click the Open/Find Resource toolbar button or use the Search for file action that is available in some URL input fields.
Open/Find Resource Dialog Box
You can use this dialog box to find a file in the current Oxygen XML Developer plugin project by typing a few letters of the file name or a fragment of the content you are searching for. The Open/Find Resource dialog box also supports searching in document edits (comments, tracked change insertions/deletions, and highlighted content).
Note
Search Results
Search results are presented instantly, after you finish typing the content. The matching fragments of text are highlighted in the results list displayed in the dialog box. When you open one of the documents from the results list, the matching fragments of text are highlighted in the editing area. To remove the highlighting from your document, close the corresponding tab in the Results view at the bottom of the editor. To display the search history, position the cursor in the search field and press Ctrl + DownArrow (Command + DownArrow on OS X) or Ctrl + UpArrow (Command + UpArrow on OS X) on your keyboard. Pressing only the DownArrow key moves the selection to the list of results.
Note
Tip
samples
directory.
Options Available in the Dialog Box
The Open/Find Resource dialog box includes the following options:
Contextual Menu Actions
A contextual menu is available on each search result and provides actions applicable to that particular document. These actions include:
- Open - Opens the document in one of Oxygen XML Developer plugin internal editors.
- Open with - Allows you to choose to open the document in the Internal editor or an external System application.
- Show in Explorer - Identifies the document in the system file explorer.
- Copy Location - Copies the file path and places it in the clipboard.
Caching Mechanism
When you perform a search, a caching mechanism is used to gather the paths of all files linked in the current project. When the first search is performed, all project files are indexed and added to the cache. The next search operation uses the information extracted from the cache, thus improving the processing time. The cache is kept for the currently loaded project only, so when you perform a search in a new project, the cache is rewritten. Also, the cache is reset when you press the Reindex button.
Important
If there is no file found that matches your file pattern or text search, a possible cause is that the file you are searching for was added to the Oxygen XML Developer plugin project after the last caching operation. In this case, re-indexing the project files with the Reindex button enables the file to be found. The date and time of the last index operation are displayed below the file list.
To watch our video demonstration about the Open/Find Resource feature and its search capabilities, go to https://www.oxygenxml.com/demo/Open_Find_Resource.html.