## FreeCAD SearchBar
This FreeCAD mod adds a search bar for tools, document objects and preferences.
⚠️ Several issues related to the C++ memory management interacting badly with Python's have caused lots of segfaults during development. ⚠️
⚠️️ Most of these should now be solved, but save your work often and proceed with caution while testing this extension. ⚠️
### Extensibility
It can be extended by other mods, by adding a new result provider.
### Usage
The search bar appears next to the `What's this?` tool
in FreeCAD's default File toolbar.

### Installation
#### Automatic Install
Install **SearchBar** addon via the FreeCAD Addon Manager from the **Tools** :arrow_right: **Addon Manager** dropdown menu.
#### Manual Install
Expand for instructions on manual installation of SearchBar
Clone the GIT repository or extract the `.zip` downloaded from GitHub to the following location:
* Linux: `~/.FreeCAD/Mod/SearchBar`
* macOS: `/Users/user_name/Library/Preferences/FreeCAD/Mod/SearchBar`
* Windows: `C:\Users\user_name\AppData\Roaming\FreeCAD\Mod\SearchBar`
### Uninstallation
* Remove the folder which was cloned during installation:
* Linux: `~/.FreeCAD/Mod/SearchBar`
* macOS: `/Users/user_name/Library/Preferences/FreeCAD/Mod/SearchBar`
* Windows: `C:\Users\user_name\AppData\Roaming\FreeCAD\Mod\SearchBar`
* Optional: Remove the cache (\~30MB) `\~/.FreeCAD/Cache_SearchBarMod` or equivalent on other platforms
### Development
* `InitGui.py` adds an instance of `SearchBoxLight` to the GUI.
* `SearchBoxLight` is a hollowed-out implementation of a search box, it loads everything lazily.
### Feedback
To report bugs or feature enhancements, please open a ticket in the [issue queue](https://github.com/SuzanneSoy/SearchBar/issues). Best place to discuss feedback or issues in on the [dedicated FreeCAD forum discussion]() for SearchBar.
### License [](https://creativecommons.org/publicdomain/zero/1.0/)
See [LICENSE](LICENSE).
This repository is in the public domain.