mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 11:01:54 +00:00
2d3a34c864
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" } ``` |
||
---|---|---|
.. | ||
contexts | ||
fonts | ||
icons | ||
keymaps | ||
settings | ||
sounds | ||
themes |