Hello! Lately, I've been having an strange issue with YouCompleteMe: the preview window won't show up when selecting a completition when on a Python file (haven't tested on anything else), as one would expect. The logs don't show any weird behavior. I was afraid this was me messing up my .vimrc, so I tried with a totally blank .vimrc file, just Vundle and YCM, no luck. I even tried to force it with a let g:ycm_add_preview_to_completeopt = 1. Doesn't work either :(
I'm on Arch Linux, all up to date. Test case: a python file, select complettion, no preview window showed up.
let g:ycm_server_python_interpreter = '/usr/bin/python2'
let g:ycm_python_binary_path = '/usr/bin/python2'
let g:ycm_collect_identifiers_from_tags_files = 1 " Let YCM read tags from Ctags file
let g:ycm_seed_identifiers_with_syntax = 1 " Completion for programming language's keyword
let g:ycm_complete_in_strings = 1 " Completion in string
let g:ycm_add_preview_to_completeopt = 1
Here's :YcmDebugInfo:
Printing YouCompleteMe debug information...
-- Server has Clang support compiled in: False
-- Python completer debug information:
-- JediHTTP running at: http://127.0.0.1:59165
-- JediHTTP process ID: 20222
-- JediHTTP executable: /home/joaquin/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/JediHTTP/jedihttp.py
-- JediHTTP logfiles:
-- /tmp/joaquin/ycm_temp/jedihttp_59165_stdout.log
-- /tmp/joaquin/ycm_temp/jedihttp_59165_stderr.log
-- Python interpreter: /usr/bin/python2
-- Server running at: http://127.0.0.1:57613
-- Server process ID: 16528
-- Server logfiles:
-- /tmp/joaquin/ycm_temp/server_57613_stdout.log
-- /tmp/joaquin/ycm_temp/server_57613_stderr.log
And from stderr:
2016-09-14 10:46:26,241 - INFO - Received health request
2016-09-14 10:56:26,346 - INFO - Received health request
2016-09-14 10:57:02,126 - INFO - Received debug info request
2016-09-14 10:57:55,596 - INFO - Received filetype completion available request
2016-09-14 10:57:55,598 - INFO - Starting JediHTTP server
2016-09-14 10:57:55,600 - INFO - using port 59165
2016-09-14 10:57:55,640 - INFO - Received event notification
2016-09-14 10:57:55,661 - INFO - Received event notification
2016-09-14 10:57:55,662 - INFO - Adding buffer identifiers for file: /home/joaquin/faraday/gui/gtk/application.py
2016-09-14 10:57:55,695 - INFO - Received event notification
2016-09-14 10:57:55,713 - INFO - Received event notification
2016-09-14 10:57:55,714 - INFO - Adding buffer identifiers for file: /home/joaquin/faraday/gui/gtk/application.py
2016-09-14 10:57:55,740 - INFO - Received event notification
2016-09-14 10:57:58,057 - INFO - Received completion request
2016-09-14 10:57:58,161 - INFO - Received completion request
2016-09-14 10:57:58,275 - INFO - Received completion request
2016-09-14 10:57:59,737 - INFO - Received event notification
2016-09-14 10:57:59,738 - INFO - Adding buffer identifiers for file: /home/joaquin/faraday/gui/gtk/application.py
2016-09-14 10:57:59,757 - INFO - Received event notification
2016-09-14 10:57:59,758 - INFO - Adding ONE buffer identifier for file: /home/joaquin/faraday/gui/gtk/application.py
2016-09-14 10:58:03,221 - INFO - Received debug info request
2016-09-14 10:58:38,237 - INFO - Received event notification
2016-09-14 10:58:38,238 - INFO - Adding buffer identifiers for file: /home/joaquin/faraday/gui/gtk/application.py
2016-09-14 10:59:02,215 - INFO - Received completion request
2016-09-14 10:59:02,299 - INFO - Received completion request
2016-09-14 10:59:02,385 - INFO - Received completion request
2016-09-14 10:59:03,968 - INFO - Received event notification
2016-09-14 10:59:03,968 - INFO - Adding buffer identifiers for file: /home/joaquin/faraday/gui/gtk/application.py
2016-09-14 10:59:03,985 - INFO - Received event notification
2016-09-14 10:59:03,987 - INFO - Adding ONE buffer identifier for file: /home/joaquin/faraday/gui/gtk/application.py
2016-09-14 10:59:04,663 - INFO - Received event notification
2016-09-14 10:59:04,664 - INFO - Adding buffer identifiers for file: /home/joaquin/faraday/gui/gtk/application.py
Hello! Lately, I've been having an strange issue with YouCompleteMe: the preview window won't show up when selecting a completition when on a Python file (haven't tested on anything else), as one would expect. The logs don't show any weird behavior. I was afraid this was me messing up my .vimrc, so I tried with a totally blank .vimrc file, just Vundle and YCM, no luck. I even tried to force it with a let g:ycm_add_preview_to_completeopt = 1. Doesn't work either :(
I'm on Arch Linux, all up to date. Test case: a python file, select complettion, no preview window showed up.
Thanks for any help you can provide!
Vim version:
Here's the relevant part of my .vimrc:
Here's :YcmDebugInfo:
And from stderr: