.. _Semantic Search:

Semantic Search
===============


You can search for a specific type, method etc. in the current project or whole workspace. Press :kbd:`Ctrl+H` to pop-up the search dialog.

.. figure:: ../../images/vlogdt-search-dialog.png



To search for the declaration of a specific type, method, field etc. :

-  Press :kbd:`Ctrl+H` to open the Search Dialog
-  **Click** on the **vlog Search** tab.
-  **Type** the name in the **Search String** (if you select in the editor before pressing Ctrl+H, the Search String is automatically set to the selection).
-  Select **type or field etc.** and **Declarations**
-  Click **Search.**

To search for a whole word in all verilog files, in comments or not:

-  Press :kbd:`Ctrl+H` to open the Search Dialog
-  **Click** on the **vlog Search** tab.
-  **Type** the name in the **Search String** (if you select in the editor before pressing Ctrl+H, the Search String is automatically set to the selection).
-  Select **Whole Word** and **Do not search in comments** or **All occurrences**
-  Click **Search.**

.. figure:: ../../images/vlogdt-search-view.png



The search results are presented in the **Search View**.

The Search View is automatically raised at any invocation. You can also go to menu **Window > Show View > Other... > General > Search** to open the Search View.

-  Use **up and down arrows** to move from one match to another.
-  Use **search history** to switch between various search results.
-  Use **search again** to refresh search results.

