Open jbush001 opened 6 years ago
commit 5e10338e055f5d719e8136027c14c8075a4f1e8a
Make search smarter about net name matching
Previously, search required a fully qualified net path
(eg mod1.a.b.c) for every signal, which was onerous. Now, if it can
unambiguously find the signal with a shorter name, it will.
Currently, queries must have the full dotted path for a signal, which is almost impossible to remember. I work around this somewhat by pre-populating the query with all signals that are currently selected when the find panel is brought up, but that has low discoverability. Add a feature where, when the user starts typing a signal name, it pops up a menu that shows all matching paths, which updates live as the user continues typing.
An alternative might be to only pop up the disambiguation dialog if the signal is actually ambiguous, otherwise determine it automatically. This would need to take into account that multiple paths can map to the same signal.