力扣插件需升级8.1版本才可解决该问题,但是需IDEA2020.2后的版本; IDEA2020.2之前版本可以前往GitHub Release v6.11 · shuzijun/leetcode-editor · GitHubDo Leetcode exercises in IDE, support leetcode.com and leetcode-cn.com, to meet the basic needs of doing exercises.Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio - Release v6.11 · shuzijun/leetcode-editorhttps://github.com/shuzijun/leetcode-editor/releases/tag/v6.11 直接下载6.11压缩包,IDEA插入本地插件即可