Search code examples
pythonpython-3.xatom-editorlinter

Atom Python: Functions not recognised


I'm using Atom as my editor and I'm currently working with python.

I have installed the packages: autocomplete-python and language-python

For some reason, functions are not marked properly. Any idea how to turn that on?enter image description here


Solution

  • Not all parsers and syntax color schemes will do that, and from what I know it is the case most of the time for Python syntax highlight.

    But it seems that Neon highlight color scheme is able to do that for Sublime, and it is being ported for Atom, so it may be doing it in the future.

    This other question about Sublime's version of neon may help.

    Also, it seems that the standard language-python package may be limited for this purpose and could be replaced by MagicPython package.

    Anyway, the feature you desire does not seem to be available at the moment.