YouCompleteMe/python/ycm/client
Ben Jackson 24f1f9c900 Support FixIt commands across buffers
We simply apply the changes to each file in turn. The existing replacement
logic is unchanged, except that it now no longer implicitly assumes we are
talking about the current buffer.

If a buffer is not visible for the requested file name, we open it in
a horizontal split, make the edits, then hide the window. Because this
can cause UI flickering, and leave hidden, modified buffers around, we
issue a warning to the user stating the number of files for which we are
going to do this. We pop up the quickfix list at the end of applying
the edits to allow the user to see what we changed.

If the user opts to abort due to, say, the file being open in another
window, we simply raise an error and give up, as undoing the changes
is too complex to do programatically, but trivial to do manually in such
a rare case.
2016-02-21 22:02:33 +00:00
..
tests Support FixIt commands across buffers 2016-02-21 22:02:33 +00:00
__init__.py A (barely) working version of ycmd + client 2013-10-07 11:03:26 -07:00
base_request.py Remove interpreter line from Python sources 2016-02-05 16:24:03 +01:00
command_request.py Support FixIt commands across buffers 2016-02-21 22:02:33 +00:00
completer_available_request.py Remove interpreter line from Python sources 2016-02-05 16:24:03 +01:00
completion_request.py Remove interpreter line from Python sources 2016-02-05 16:24:03 +01:00
event_notification.py Remove interpreter line from Python sources 2016-02-05 16:24:03 +01:00
omni_completion_request.py Remove interpreter line from Python sources 2016-02-05 16:24:03 +01:00
ycmd_keepalive.py Remove interpreter line from Python sources 2016-02-05 16:24:03 +01:00