[accerciser] Fix auto-completion



commit 36e274242c977527dd9e8d737c448cc4bb5eb373
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Sat Jul 27 16:05:13 2019 +0200

    Fix auto-completion
    
    IPython's ≥6 jedi seems to be coming in the way of our needs, so disable
    it for now.

 plugins/ipython_view.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/ipython_view.py b/plugins/ipython_view.py
index b4a787f..26765d7 100755
--- a/plugins/ipython_view.py
+++ b/plugins/ipython_view.py
@@ -97,6 +97,7 @@ class IterableIPShell:
         from IPython.config.loader import Config
     cfg = Config()
     cfg.InteractiveShell.colors = "Linux"
+    cfg.Completer.use_jedi = False
 
     # InteractiveShell's __init__ overwrites io.stdout,io.stderr with
     # sys.stdout, sys.stderr, this makes sure they are right


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]