Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not auto complete for PyQt4 #25

Open
gearslogy opened this issue Jun 7, 2018 · 1 comment
Open

Can not auto complete for PyQt4 #25

gearslogy opened this issue Jun 7, 2018 · 1 comment
Labels
bug a feature isn't working

Comments

@gearslogy
Copy link

It's normal to work like this:

import json
import os
import sys
...

but can not complete for PyQt4:

from PyQt4 import QtGui,QtCore
QtGui.(nothing happend)

my configuration:

(require 'company)

(add-hook 'after-init-hook 'global-company-mode)
(setq company-show-numbers t); display serial number
(setq company-idle-delay 0.2); menu delay
(setq company-minimum-prefix-length 1); start completelyness number
(setq company-idle-delay 0.2;
      company-minimum-prefix-length 1; 
      company-require-match nil
      company-dabbrev-ignore-case nil
      company-dabbrev-downcase nil
      company-show-numbers t; 
      company-transformers '(company-sort-by-backend-importance)
      company-continue-commands '(not helm-dabbrev)
      )



(require 'company-jedi)
(setq jedi:environment-root "jedi")
(setq jedi:server-command (jedi:-env-server-command))
(defun config/enable-jedi ()
  (add-to-list 'company-backends 'company-jedi))
(add-hook 'python-mode-hook 'jedi:setup)
(add-hook 'python-mode-hook 'config/enable-jedi)
(setq jedi:complete-on-dot t)
(setq jedi:use-shortcuts t)
@azzamsa
Copy link

azzamsa commented Feb 14, 2019

I have the same problem today. Since I use Elpy, removing company-jedi config and using 'bare' Elpy works for me

@gonewest818 gonewest818 added the bug a feature isn't working label Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a feature isn't working
Development

No branches or pull requests

3 participants