Steps to Reproduce:
Expected behavior: the boxes for case-sensitivity and regex searching are checked.
Actual behavior: the boxes for case-sensitivity and regex searching are unchecked.
I _always_ want to search with these options enabled. How can I persist this state across restarts?
@jrieken The Find options are persisted for text search across files after restarting VS Code but not for text search in a file
Let's track in #10344 we should add a configuration option where you could specify the default toggle states.
I'd prefer we persisted user choice (notepad++, sublime and Visual Studio do persist user choice) rather than set configuration option explicitly. This way text search inside a file and across files would be consistent too.
@ramya-rao-a I haven't noticed Visual Studio persisting the user choice. Same as we, they have a find widget for each editor (so if you open multiple editors side-by-side they each get their find widget). What would we persist if we have multiple find widgets that have different toggles?
@alexandrudima Last writer wins? Honestly that's an edge condition, any decision is fine.
That works for me. I will do the following:
Any updates on this matter ?
Trying out vscode after hearing much hype lately, and this is my biggest issue in adopting it.
I use (cmd+d) multiple cursors a lot, and having to do cmd+f and toggling case-sensitive every time I open an editor is a pain in the rear-end.
Even if I could use cmd+alt+c (my hotkey for alfred snippets) it would still be annoying.
Still annoyed by this on a daily basis as well :)
Let's track the setting persistence in #6158
Most helpful comment
That works for me. I will do the following: