YouCompleteMe/python/ycm/tests
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
..
client Support for additional FixIts on java completions 2018-02-11 18:11:34 +00:00
testdata Tests for checking that extra_conf_data sended to server from :DebugInfo and :YcmCompleter commands. 2017-03-12 19:03:07 +03:00
__init__.py Echo diagnostic asynchronously 2017-10-04 16:59:47 +02:00
base_test.py Use codepoint offsets in identifier functions 2017-06-18 20:41:30 +02:00
command_test.py Avoid traceback when computing extra conf data 2018-02-10 15:27:27 +01:00
completion_test.py Rewrite completion system 2017-06-21 02:32:57 +02:00
diagnostic_filter_test.py Do not install aliases from future 2017-03-18 18:24:48 +01:00
event_notification_test.py Optimize request building 2018-01-09 01:40:07 +01:00
mock_utils.py Add support for Java diagnostics and asynchronous messages 2018-02-10 16:29:27 +00:00
omni_completer_test.py Use fake filetype for omni completion test 2017-12-23 15:41:14 +00:00
paths_test.py Drop Python 2.6 and Python 3.3 2018-01-30 18:34:50 +01:00
postcomplete_test.py Support for additional FixIts on java completions 2018-02-11 18:11:34 +00:00
syntax_parse_test.py Do not install aliases from future 2017-03-18 18:24:48 +01:00
test_utils.py Avoid traceback when computing extra conf data 2018-02-10 15:27:27 +01:00
vimsupport_test.py Support for additional FixIts on java completions 2018-02-11 18:11:34 +00:00
youcompleteme_test.py Add support for Java diagnostics and asynchronous messages 2018-02-10 16:29:27 +00:00