How to Enable Syntax Highlighting for Python in ATOM

天大地大妈咪最大 提交于 2020-02-05 05:01:07

问题


I'm using Python 3.7, and our class has transitioned to ATOM Editor for our IDE. The Professor is running Ubuntu and his works, and a few people have had there's sporadically work but I'm unable to get any syntax highlighting or error pop-ups (Even if I make obvious errors)


回答1:


To enable syntax highlighting you need to have the 'language-python' package from 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. This package lets you run python scripts from Atom.



来源:https://stackoverflow.com/questions/52449497/how-to-enable-syntax-highlighting-for-python-in-atom

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!