Code editor loses current line position when pressing the diff button

If I’m in line 900 of any file por example in the code editor and then press the diff button to see the changes if I press again the diff button to stop seeing the differences the editor reloads an makes me lose the line where I was positioned.

1 Like

Thanks for reaching out about this. I shared your feedback with the team to figure out what we can do to prevent this.

In the meantime, I recommend breaking your files into smaller components. That’ll make it easier for the code editor to keep track of what line you’re on. And using smaller files can help v0 make code changes more efficiently, too.

2 Likes

I’ve also noticed similar issues with the code editor in previous projects. Typically, I only see this once the project starts to get rather large.

1 Like