在 Linux 环境下的 IDEA 编辑器内输入中文,会在输入的文字下方出现下划线乱码,在失去光标之后删除输入的文字
解决方法:
-
打开,Idea导航栏:Help --> Edit Custom VM options…
-
在配置文件最后一行添加:-Drecreate.x11.input.method=true 并保存
3. 点击菜单 File --> Invalidate Caches / Restart…,并选择 Just Restart 重启 IDEA 即可。
在 Linux 环境下的 IDEA 编辑器内输入中文,会在输入的文字下方出现下划线乱码,在失去光标之后删除输入的文字
解决方法:
打开,Idea导航栏:Help --> Edit Custom VM options…
在配置文件最后一行添加:-Drecreate.x11.input.method=true 并保存
3. 点击菜单 File --> Invalidate Caches / Restart…,并选择 Just Restart 重启 IDEA 即可。