How to disable auto generate code option?

Hi all, I am a new Projucer editor,

I create a GUI component file, I get two file newcomponent.cpp and newcomponent.h, then I can see a simple UI.

i try to disable a function setSize in cpp file like this //setSize (600, 400);

but when a reload the file, it not working, it is reset to previous state,

Could I can disable the re create option from setting or any config?

very thanks~~