YouCompleteMe/python/ycm/tests/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 Move client tests to the main tests folder 2016-10-20 00:24:38 +02:00
base_request_test.py Optimize request building 2018-01-09 01:40:07 +01:00
command_request_test.py Do not install aliases from future 2017-03-18 18:24:48 +01:00
completion_request_test.py Support for additional FixIts on java completions 2018-02-11 18:11:34 +00:00
debug_info_request_test.py Do not install aliases from future 2017-03-18 18:24:48 +01:00
messages_request_test.py Add support for Java diagnostics and asynchronous messages 2018-02-10 16:29:27 +00:00
omni_completion_request_tests.py Rewrite completion system 2017-06-21 02:32:57 +02:00