Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24140

Python pyls auto-completion very slow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.12.2
    • None
    • Ubuntu 18.04
    • Linux/X11
    • 9d1fe1df14 (qt-creator/qt-creator/master)

      The auto-completion of pyls is pretty slow and it even doesn't complete until I hit `ctrl+space` again,

       

      As you can see in the debug output it doesn't complete until I explicitly invoke it again

      qtc.languageclient.completion: QTime("14:20:16.414")  : request completions at  616  by  "explicitly invoking"
      qtc.languageclient.completion: QTime("14:20:53.677")  : request completions at  616  by  "explicitly invoking"
      qtc.languageclient.completion: QTime("14:20:53.687")  : got completions
      qtc.languageclient.completion: QTime("14:20:53.687")  : request completions at  616  by  "explicitly invoking"
      qtc.languageclient.completion: QTime("14:20:53.687")  :  1  completions handled
      qtc.languageclient.completion: QTime("14:20:53.695")  : got completions
      qtc.languageclient.completion: QTime("14:20:53.704")  :  1  completions handled
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            jafar_abdi Cafer Abdi
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes