How to Use the Quick Query View in DVT Eclipse IDE
Overview
The Quick Query View allows you to instantly locate and open types, macros or compiled files using an intuitive and powerful query syntax.
Query keys reference:
https://eda.amiq.com/documentation/eclipse/sv/toc/reference/views.html#quick-query-view
https://eda.amiq.com/documentation/eclipse/vhdl/toc/reference/views.html#quick-query-view
https://eda.amiq.com/documentation/eclipse/elang/toc/reference/views.html#quick-query-view
https://eda.amiq.com/documentation/eclipse/pss/toc/reference/views.html#quick-query-view
Pattern syntax reference:
https://eda.amiq.com/documentation/eclipse/sv/toc/quick-search-in-views/index.html
https://eda.amiq.com/documentation/eclipse/vhdl/toc/quick-search-in-views/index.html
https://eda.amiq.com/documentation/eclipse/elang/toc/quick-search-in-views/index.html
https://eda.amiq.com/documentation/eclipse/pss/toc/quick-search-in-views/index.html
Details
Introduction
This video covers how to use the Quick Query View in the DVT Eclipse IDE.
In order to open it, use the Ctrl+Alt+Q
keyboard shortcut or right-click
in a source code editor and go to Show > Quick Query.
Using the View
In this view, you can query the compilation database and quickly retrieve information about your project, such as types, macros or compiled files.
Simply start typing to filter the list. Click
an element or use the ↑
or ↓
keys to select then press Enter
to navigate to it.
Matching is done on any of the underscore-separated segments of the elements’ name. You can even combine such fragments, to quickly shrink down the list. *
matches any sequence of characters.
For a full spec of the available pattern syntax, check the link in the video description.
Specify a query key to enforce a particular kind of element. Content Assist is available.
The key must be followed by the :
character and a search pattern.
You can also easily search for a particular module, typedef or class.
Additionally, several UVM-specific queries are supported, so that you can quickly find, for example, all the uvm_agents or uvm_drivers from your project.
Check the links (1), (2), (3), (4) in the video description for the complete documentation of the Quick Query View and all the available query keys.