SublimeCodeIntel / CodeIntel

Full-featured code intelligence and smart autocomplete engine
http://www.sublimecodeintel.com
Other
42 stars 8 forks source link

Invalid syntax error due to the "async" is a reserved keyboard since python 3.5+ #12

Open ghost opened 4 years ago

ghost commented 4 years ago

ENV

python version:

python3 --version
Python 3.7.4

host OS:

sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G95

install method:

pip3 install --upgrade --pre CodeIntel

issues of running CodeIntel command line

  1. failed to check the db:
    CodeIntel dbcheck
    ERROR:codeintel.oop:invalid syntax (ecmacile.py, line 2128) (/usr/local/lib/python3.7/site-packages/codeintel/codeintel2/lang_ecma.py:64 in <module>)
  2. failed to work with the sublimecodeintel, log info from ~/.codeintel/codeintel.log:
ERROR:codeintel.oop:invalid syntax (ecmacile.py, line 2128) (/usr/local/lib/python3.7/site-packages/codeintel/codeintel2/lang_ecma.py:64 in <module>)

relevant source code: https://github.com/SublimeCodeIntel/CodeIntel/blob/5a84f609c55972297119c2d7bc9d045222ee6d93/codeintel/codeintel2/ecmacile.py#L2128

aartikalra12 commented 12 months ago

Do we have an update here? Or any alternate options to work around this?