Python mode
Cython mode
Configuration Options for Python mode:
- version - 2/3 - The version of Python to recognize. Default is 2.
- singleLineStringErrors - true/false - If you have a single-line string that is not terminated at the end of the line, this will show subsequent lines as errors if true, otherwise it will consider the newline as the end of the string. Default is false.
Advanced Configuration Options:
Usefull for superset of python syntax like Enthought enaml, IPython magics and questionmark help
- singleOperators - RegEx - Regular Expression for single operator matching, default :
^[\\+\\-\\*/%&|\\^~<>!]
- singleDelimiters - RegEx - Regular Expression for single delimiter matching, default :
^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]
- doubleOperators - RegEx - Regular Expression for double operators matching, default :
^((==)|(!=)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))
- doubleDelimiters - RegEx - Regular Expressoin for double delimiters matching, default :
^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))
- tripleDelimiters - RegEx - Regular Expression for triple delimiters matching, default :
^((//=)|(>>=)|(<<=)|(\\*\\*=))
- identifiers - RegEx - Regular Expression for identifier, default :
^[_A-Za-z][_A-Za-z0-9]*
- extra_keywords - list of string - List of extra words ton consider as keywords
- extra_builtins - list of string - List of extra words ton consider as builtins
MIME types defined: text/x-python
and text/x-cython
.