# SearchSettings

> Search settings give access to the user global preferences regarding Search.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static class SearchSettings
```

## Static Fields

| Value                                                                                                           | Description                                                                                        |
| --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| [searchItemFavorites](/engine/6000.7/script-reference/unityeditor/search/searchsettings/searchitemfavorites.md) | Returns a list of all item IDs that are marked as favorite by the user for in the current project. |

## Static Methods

| Method                                                                                                        | Description                        |
| ------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| [AddItemFavorite](/engine/6000.7/script-reference/unityeditor/search/searchsettings/additemfavorite.md)       | Mark a search item as a favorite.  |
| [RemoveItemFavorite](/engine/6000.7/script-reference/unityeditor/search/searchsettings/removeitemfavorite.md) | Remove an item from the favorites. |
