File --> Setting --> Editor --> File Types --> Text --> xx.html 右侧减号 --> Apply --> OK 意思是把 index.html 识别为文本了 !