AI Assistant's edit_file Functionality Limited

I experience the same issue. Any mitigation solution on this?