1.在File--->Settings--->Editor--->File Types --->选到Text 2.在Registered Patterns中找到变灰文件名的后缀,点击删除后保存就可以了.