Before even moving your sketch project to another IDE, you should convert all your “.pde” tabs (w/ the exception of the 1st main tab) to have a “.java” extension instead.
Those classes inside “.java” files will need to import processing.core.PApplet.
And then request the sketch’s PApplet reference on their constructor.