YouCompleteMe/python/ycm/client
Ben Jackson 292de25c72 Add support for Java diagnostics and asynchronous messages
This implements an asynchronous message system using a long-poll request
to the server.

The server provides an endpoint /receive_messages which blocks until
either a timeout occurs or we receive a batch of asynchronous messages.
We send this request asynchronously and poll it 4 times a second to see
if we have received any messages.

The messages may either be simply for display (such as startup progress)
or diagnostics, which override the diagnostics returned by
OnFileReqdyToParse.

In the former case, we simply display the message, accepting that this
might be overwritten by any other message (indeed, requiring this), and
for the latter we fan out diagnostics to any open buffer for the file in
question.

Unfortunately, Vim has bugs related to timers when there is something
displayed (such as a "confirm" prompt or other), so we suspend
background timers when doing subcommands to avoid vim bugs. NOTE: This
requires a new version of Vim (detected by the presence of the
particular functions used).
2018-02-10 16:29:27 +00:00
..
__init__.py A (barely) working version of ycmd + client 2013-10-07 11:03:26 -07:00
base_request.py Optimize request building 2018-01-09 01:40:07 +01:00
command_request.py Merge branch 'master' into fork_master 2017-03-30 20:26:11 +03:00
completer_available_request.py Do not install aliases from future 2017-03-18 18:24:48 +01:00
completion_request.py Rewrite completion system 2017-06-21 02:32:57 +02:00
debug_info_request.py Merge branch 'master' into fork_master 2017-03-30 20:26:11 +03:00
event_notification.py Optimize request building 2018-01-09 01:40:07 +01:00
messages_request.py Add support for Java diagnostics and asynchronous messages 2018-02-10 16:29:27 +00:00
omni_completion_request.py Rewrite completion system 2017-06-21 02:32:57 +02:00
shutdown_request.py Do not install aliases from future 2017-03-18 18:24:48 +01:00
ycmd_keepalive.py Do not install aliases from future 2017-03-18 18:24:48 +01:00