While testing version 7.1.0-alpha1, I am missing the “Show Usage” navigation.
Also, I am curious if it would work on names listed in an import clause.
While testing version 7.1.0-alpha1, I am missing the “Show Usage” navigation.
Also, I am curious if it would work on names listed in an import clause.
The fall-back by Find has the flaw that the Search dialog forgets its search string after closing the dialog (and doing something else in between).
It turns out this is not new in 7.1. A quick test reveals that 6.4.0 still kept the search string, but it is missing since 7.0.0.
Hi Mark,
Thank you for testing 7.1! The “Show Usage” option was intentionally removed, because usages can now be seen inline by double-clicking an identifier. If that doesn’t work, let us know and we’ll fix the bug. Unfortunately it only works in the current file at the moment, but this will soon be fixed as we make improvements to search functionality within a model.
Good catch about the Find dialog, it’s definitely supposed to keep track of the last search unless you have any text selected when you open the dialog.
Isaac B.
Hi Isaac,
Please reinstate Show Usage.
Double-clicking is no viable alternative for Show Usage.
For one thing, it only highlights but offers no navigation.
But more importantly, Show Usage gives complete lines (including linenumbers), so you can immediately see where and how a variable or procedure (or …) is used.
I’m using that very often when preparing a logical change to a procedure or the role of a variable.
And then, while testing it, I found that double-clicking only highlights the word, not the complete identifier. I don’t know if this is intentional. For example, double-clicking check-building-placement highlights either all occurrences of check, or of building or of placement.
Mark
Noted, I’ll see if it can be reinstated. This release uses a completely different code editor than we were using before, so not everything can be easily remade as it was before, but it should be possible. Sorry for the trouble!
Isaac B.
The Show Usage option is now restored and will be available in the next release.
Isaac B.