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

Python pyls auto-completion very slow

    XMLWordPrintable

Details

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

    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

          For Gerrit Dashboard: QTCREATORBUG-24140
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes