IntelliJ IDEA solves the problem of not being able to input Chinese

Problem Description

There is no problem with the input method, and Chinese can be input normally in other software. However, Chinese cannot be used in IDEA, even if it is switched to Chinese input, it is still impossible to input Chinese.

tips

  • Check IntelliJ IDEA settings: Make sure you have Chinese input methods configured correctly in IntelliJ IDEA. In IntelliJ IDEA, you can open the settings panel by going to File > Settings (Windows) or IntelliJ IDEA > Preferences (Mac). In the settings panel, select the "Editor" > "General" > "Code Completion" option and make sure you have enabled the Chinese input method

Solution:

Toolbar: Help>Edit Custom VM Options...
insert image description here
Insert the following code in the last line:

-Drecreate.x11.input.method=true

insert image description here

Guess you like

Origin blog.csdn.net/qq_41322460/article/details/131518018