Search code examples
visual-studio-code

How to use case insensitive search when searching the current file in Visual Studio Code


If I search in the currently opened filter from the sidebar, I get case insensitive search on all files. But if I search in the current file's search (Ctrl + F/Cmd + F), I get case-sensitive search results.

I always search in lowercase, so this approach can't find a lot of camelCase strings for me. How to have case insensitive search here?


Solution

  • You can try turning off "match case" property by clicking to button highlighted in the image: search by match case