The last mode this inline chat has is the edit
full file mode, at least at the point of time where I'm
this. Now, this name does what the name implies.
You have some code highlighted and your
prompt still kind of refers to this code, but
cursor feels free to edit other parts of the file as well.
If you have added selection, it will only edit the selected code.
So for example, if I say rename all functions
to just be named write file et
cetera, instead of write to file
et cetera, it will only rename this function if I
press enter. It does not rename read from file or
append to file, even though these are all the functions
rename. But since I had added selection selected,
well, selection. So I'll hit escape to cancel this and
instead, if I change this to added full file, now
it will, you guessed it, check and edit the full file.
So now if I say rename to write file et cetera, it
will go ahead, analyze the full file,
and then make these changes. So now it renamed write file
here, but also here where we use it.
Something it also didn't do before.
And it also renamed read file and append file.
And again, you can either accept these changes on a
line basis with these buttons, and you can also move through these
lines with these arrows here, or you can
reject or accept them all together with these buttons or the shortcuts you see
there. So I'll just hit command enter in my case
all.