Open Declaration and References

Open Declaration and Find References use an efficient indexing system to search through your files.
The index is updated as files are modified or changed.

Open Declaration

This allows you to find the definitions of Maple modules, procedures, variables etc. in your code. Select the name of a Maple element that appears in your code, pull down the menu, and choose Open Declaration. This will search for the definition in all Maple files (.maple) in your project, including resources in the project's Build Path.

When you have gone to the definition of a Maple element, you can return to where you were by using the back button, Edit Back, found on the editor toolbar.

If you hold the Ctrl key down as you move the cursor over a Maple element name, it appears as a hyperlink (on a Macintosh use the Command key). If you then click you will be taken to the declaration. An example of a module name appearing as a hyperlink is shown below.

You will be automatically taken to the element's source code. If the declaration is in a different file, this file will be opened.

Find References

This allows you to find all uses of a module, procedure etc. in your code. Select the name of a Maple element that appears in your code, pull down the menu, and choose Find References. This will search for uses of the function in all Maple files in your workspace. A typical search result window is shown below.