-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Function Signatures are not displayed in mini-buffer #24
Comments
I'm having the same issue. Calling
which makes me think the problem is possibly inside Jedi itself. |
I get the same error too when running |
@jack836 did you need to re-run the setup? I changed those three lines, with no effect. |
@jack836, would it be possible to paste the three lines you modified please? |
@noelfarrugia09
then reinstall server "for me I have to delete then install". |
Thanks! The modification seems to work when tested using the function My question is how can I get the function signature to show automatically and keep it in the mini-buffer? My current setup for company and jedi:
Thanks in advance! |
You have to enable jedi-mode. Change this:
To
When you idle for a while, it would display it again. |
@CatchMeFastFat Thanks a lot!!!!!!! I had to enable jedi-mode. Your code did not work but managed to make it work using the following code:
Thanks again! 👍 |
Confirming that the above fixes are working for me running latest emacs on Windows 10 x64. Does this mean that this is a bug (maybe because Jedi API has been updated or something to that effect) and this needs to be fixed? Modifying 3 lines seems a fairly small ask, but does it break something else? |
Could not get function signatures to be displayed in mini buffer as shown here
Some points of concern
My .emacs
I tried setting
jedi:tooltip-method
to bothnil
andpos-tip
, nothing changed.The output of
jedi:show-setup-info
is as follows; Emacs Lisp version: (:emacs-version "27.0.50" :jedi-version "0.2.7" :python-environment-version "0.0.2alpha0") ;; Python version: ((:version "3.5.3 (default, Jan 19 2017, 14:11:04) \n[GCC 6.3.0 20170118]" :file nil :name "sys") (:version "0.12.0" :file "/home/svi/.emacs.d/.python-environments/default/lib/python3.5/site-packages/jedi/__init_\ _.py" :name "jedi") (:version "0.0.5" :file "/home/svi/.emacs.d/.python-environments/default/lib/python3.5/site-packages/epc/__init__.\ py" :name "epc") (:version "0.0.3" :file "/home/svi/.emacs.d/.python-environments/default/lib/python3.5/site-packages/sexpdata.py" \ :name "sexpdata")) ;; Command line: (:virtualenv "/home/svi/.virtualEnvs/python3/bin/virtualenv" :virtualenv-version "15.2.0\n") ;; Customization: ((jedi:complete-on-dot . t) (jedi:doc-display-buffer . display-buffer) (jedi:doc-hook view-mode) (jedi:doc-mode . rst-mode) (jedi:environment-root) (jedi:environment-virtualenv) (jedi:get-in-function-call-delay . 1000) (jedi:get-in-function-call-timeout . 3000) (jedi:goto-definition-config (nil nil nil) (t nil nil) (nil definition nil) (t definition nil) (nil nil t) (t nil t) (nil definition t) (t definition t)) (jedi:goto-definition-marker-ring-length . 16) (jedi:imenu-create-index-function . jedi:create-nested-imenu-index) (jedi:import-python-el-settings . t) (jedi:install-imenu) (jedi:install-python-jedi-dev-command "pip" "install" "--upgrade" "git+https://github.com/davidhalter/jedi.git@dev\ #egg=jedi") (jedi:key-complete . [C-tab]) (jedi:key-goto-definition . [67108910]) (jedi:key-goto-definition-pop-marker . [67108908]) (jedi:key-related-names . "^Cr") (jedi:key-show-doc . "^Cd") (jedi:server-args) (jedi:server-command "/home/svi/.emacs.d/.python-environments/default/bin/jediepcserver") (jedi:setup-keys) (jedi:tooltip-method pos-tip popup) (jedi:use-shortcuts) (python-environment-default-root-name . "default") (python-environment-directory . "~/.emacs.d/.python-environments") (python-environment-virtualenv "virtualenv" "--system-site-packages" "--quiet"))
When I open a python file i receive a warning and Eldoc is loaded as shown below
Once it starts autocomplete, Eldoc disappears (probably due to limited space)
Finally no signatures completion when inside function paranthesis
I love this feature and would be great if if works. Any help is highly appreciated.
The text was updated successfully, but these errors were encountered: