IntelliJ IDEA's code completion candidate display is very convenient and I use it a lot, but with the default settings, it is necessary to enter the first letter in uppercase in order to display candidates that start with a capital letter such as a class name. There is.
Example of typing in lowercase
Example of typing in uppercase
Personally, even if I type in lowercase letters, I want code completion candidates that start with uppercase letters to be displayed, so this time I will introduce a method to achieve this.
Preferences
-> ʻEditor->
General->
Code Completion-> Uncheck
Match case-> ʻApply
OK
By default, Match case
is checked and First letter only
is selected, so the first letter is case-sensitive and candidates are displayed.
By unchecking Match case
, case sensitivity is disabled, so even if you do not enter uppercase letters at the beginning as shown in the image below, names with uppercase letters such as class names are used as code completion candidates. You can display it.
https://www.jetbrains.com/help/idea/auto-completing-code.html#configure-code-completion
Recommended Posts