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

Python pyls auto-completion very slow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.12.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
    • Platform/s:
      Linux/X11

      Description

      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
      

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes