Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Find where the variable is used

I was wondering if there is a command in Photran that do the reverse of "Open Declaration (F3)". It is, I want to select a variable declaration inside a MODULE, which is used in several parts of the code, and ask for all the places in which that variable is used.

Yes, right-click on the variable, and choose "References > Workspace" (or Project, or whatever). It will open the Search view with a list of all of the locations where that variable is used. You can use the up and down arrow buttons in the Search view to move through the list.

This will not work for some variables (e.g., members of a derived type) due to some internal infrastructural limitations, but it should for most.

Jeff


Back to the top