App inventor started freezing from too much code

i made an app and it works fine but when i want to edit i switch to code tab of app inventor and the site freezes how can i fix it

Start by telling about your project. Read the above topic on what kind of information you can provide.

If you are using the Companion, do a Connect->Reset Companion to reduce the load on your Blocks Editor session.