After prompting chat i can Apply it but can choose between applying to the file itself or applying it to the entire file.
what is entire file?
applying it to the file itself, the chat window has to generate again and then i can accept. the accept window sometimes is in the file itself and sometime it is in the chat where the apply “button” was.
thank you deanrie!
Unfortunately often if i choose the file itself (in this case makeComic.tsx) it is not applied at all because it only scans code snipets where there are no changes. Seems like a bug.
But what works is apply to entire file, because then it scans all.
so right now a fix is to just use Apply to entire file, right?
thank you!
i also found out what happens often if you dont apply to entire file is:
new code will be written but the old code will not be deleted. so it is twice there, the old version and the new version