【问题标题】:Why is there no Python text highlighting in my Atom Text editor?为什么我的 Atom 文本编辑器中没有突出显示 Python 文本?
【发布时间】:2020-02-10 12:17:57
【问题描述】:

我刚刚安装了 atom 并正在尝试运行一些 python 代码。我已经手动选择了我在右下角使用 python 来确定,但仍然有零文本突出显示。文本突出显示在其他语言中工作(我尝试了 HTML,它工作得很好)。该文件以 .py 扩展名保存。我对编码很陌生,所以请随意假设我遗漏了一些明显的东西。安装了 Atom-ide-ui 和 ide-python。 Here's a screenshot of editor as I see it

【问题讨论】:

  • 您需要提供更多详细信息或屏幕截图以显示此情况。

标签: python atom-editor


【解决方案1】:

我建议在 Atom 中安装 ide-python package。您可以从命令行运行它:

apm install atom-ide-ui
apm install ide-python

或者在 Atom 的设置中安装 ide-pythonatom-ide-ui

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-02-14
    • 2016-06-07
    • 2010-11-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-21
    相关资源
    最近更新 更多