xonsh / xontrib-jedi

Xonsh Python mode completions using jedi
MIT License
19 stars 2 forks source link

Failed to load xontrib jedi: module `xonsh.completers` has no attribute `base` #3

Closed TeddyHuang-00 closed 9 months ago

TeddyHuang-00 commented 1 year ago
TeddyHuang-00 commented 1 year ago

I add another line in site-packages/xontrib/jedi.py:

import xonsh.conpleters.base

This will definitely get rid of the warning, but I still don't know what to expect. My best guess is that since the monkey-patch works with import xonsh, importing a submodule and replacing that completion method should also work. Don't know if there's any way to verify this.