YouCompleteMe/python/ycm/client
Ben Jackson 7989b7b0fd Support for additional FixIts on java completions
Java completer can include FixIts which are applied when a completion
entry is selected. We use the existing mechanism implemented for c-sharp
to perform these edits using the CompleteDone autocommand.

However, the existing mechanism relies on pattern matching the source to
work out which item was completed. Vim patch 8.0.1493 introduces support
for user_data on completion items, so when available we populate it with
the completion array index of the item and use that to get the exact
element that was selected. This is both a lot faster and a lot more
accirate.

Of course when applying these 'FixIts' we don't interrupt the user with
confirmation or the quickfix list as this would just be annoying. If the
server reports that an edit must be made, we just make the edit. This is
achieved by adding a silent flag to ReplaceChunks.
2018-02-11 18:11:34 +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 Support for additional FixIts on java completions 2018-02-11 18:11:34 +00: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