Is there a smart case sensitivity search in PyCharm?
In the past I used an editor which did case insensitive search if I used lower case.
As soon as I used the first upper case character the search was case sensitive.
I liked this.
Can I enable this in PyCharm?
BTW: of course I know that I can enable case sensitive search in PyCharm. This question is about the "smartness" of switching to case sensitive search.
PyCharm, a dedicated Python Integrated Development Environment (IDE), assumes that macOS filesystems are case-insensitive. However, if you are on a case-sensitive file system, unexpected things may happen, such as missing files, undetected external changes, file cache conflicts and excessive indexing.
By default, searches are case-insensitive. You can make your search case-sensitive by using the case filter. For example, the following search returns only results that match the term HelloWorld . It excludes results where the case doesn't match, such as helloWorld or helloworld .
Google searches are not case sensitive. All letters, regardless of how you enter them, are understood as lower case. For example, searches for "george washington," "George Washington," and "George Washington" all return the same results.
Searches normally are case-sensitive: a search for "china" will not find "China." If you want vi to ignore case during a search, type :set ic . To change it back to the default, case-sensitive mode, type :set noic . If vi finds the requested string, the cursor will stop at its first occurrence.
As it seems that this is not possible, you could always register your previous editor as an external tool in PyCharm, and add a keyboard shortcut for quick smart case-sensitive searches.
Sometimes, the external editor makes it easier to do simple edits. PyCharm should update as soon as you save the file in the external editor.
Answer is No.
Python is mostly typed in lower case. Simple thing is to just click Alt+C
which check marks Match Case as you are aware.
So I think most editors do not have the smart search you are mentioning intentionally so that they want user to explicitly control what they are searching.
You might want to look at search.py
at C:\Program Files\JetBrains\PyCharm Community Edition 2017.3\helpers\pydev\pydevd_attach_to_process\winappdbg\search.py and fiddle with it a little and check if you can get this smartsearch
feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With