.. _Semantic Search:

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

.. rst-class:: leads

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/edt-get_started-search-window.png
	:align: center


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

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

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

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

.. figure:: ../../images/edt-get_started-search-view.png
	:align: center




The search results are presented in the :guilabel:`Search View`.

The :guilabel:`Search View` is automatically raised at any invocation.
You can also go to menu :menuselection:`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.

