且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Pycharm - MacBook - models.py无法识别

更新时间:2023-09-25 22:54:28


注意:不是文件类型问题,因为另一个文件代码被识别,文件图标是python。

Note: Is not a file type problem, because the another files code is recognized and the file icon is of python.

您错了 - 这是文件类型问题。


  1. 首选项|文件类型

  2. 文本文件在上面的列表中

  3. 查找并删除下表中不需要的图案 - 我希望这是 models.py 或非常相似的

  1. Preferences | File Types
  2. Text Files in upper list
  3. Find and remove unwanted pattern in lower list -- I expect this to be models.py or quite similar

/ simialr SO问题:

A bit more / simialr SO questions:

  • https://***.com/a/21281563/783119
  • https://***.com/a/11687851/783119