check if you dont see the .idea file on the main file structure, as per I saw the same problem and get to understand that , that is the main issue why that pop-up of Vs code showing up. You can just create a new flutter project and add the .idea from there to the existing app.