如何在 ATOM 中为 Python 启用语法高亮

How to Enable Syntax Highlighting for Python in ATOM

我正在使用 Python 3.7,并且我们的 class 已转换为 IDE 的 ATOM 编辑器。教授是 运行 Ubuntu 和他的作品,有几个人零星地工作,但我无法获得任何语法高亮或错误弹出窗口(即使我犯了明显的错误)

要启用语法高亮,您需要从 here. Then make sure the file you are editing ends in '.py'. If these two steps have been followed the syntax highlighting should be in effect. Also load the 'Script' package from here 获得 'language-python' 包。这个包可以让你 运行 python 来自 Atom 的脚本。