使用idea时有时不显示中文注释,想显示为以下效果的:
首先,下载 JAVA_API_1.8_CHS.CHM 这个文件,放在一个目录下,目录下cmd输入:hh -decompile html18 1.6.CHM,就会在当前目录下生成一个html18的文件夹(文件夹名称随意),然后进入idea的project structure,如下设置