zed/assets
Max Brunsfeld 2d3a34c864 Refine search query suggestions (#3293)
This PR fixes some issues in response to feedback from Dan Abramov and
Jose Valim.

To do:

* [x] fix non-word search suggestions
* [x] add setting for disabling search suggestions

Release Notes:

- Fixed an issue where opening a search without text selected would
populate the search query with non-word characters adjacent to the
cursor.
- Added a setting, `seed_search_query_from_cursor`, which controls
whether the search query is automatically populated from the buffer when
starting a new buffer search or project search.

By default, the search query will always be set to the word under the
cursor. If you want to only populate the search query when text is
selected, you can add the following to your `~/.zed/settings.json`:

  ```json
  {
    "seed_search_query_from_cursor": "selection"
  }
  ```

If you don't want the search query to be automatically populated, even
when there is text selected, add the following:

  ```json
  {
    "seed_search_query_from_cursor": "never"
  }
  ```
2023-11-09 15:33:15 -08:00
..
contexts
fonts Add IBM Plex license 2023-08-09 11:39:15 -04:00
icons Add checkboxes and their stories 2023-11-05 01:06:41 -05:00
keymaps Guest roles (#3140) 2023-10-24 17:29:14 +02:00
settings Refine search query suggestions (#3293) 2023-11-09 15:33:15 -08:00
sounds Update collaboration sounds, add sounds to screensharing 2023-07-04 16:18:42 -04:00
themes Finish up initial themes 2023-11-06 15:24:36 -05:00