Why do you need to open the FP's console IDE on the Raspi? Why don't you just using a local editor that open a file then compile it on the raspi through ssh?
I'm usually using VS Code as the local editor for such case. Using VS Code (or any local editors such as Sublime or Notepad++) is much comfortable and faster rather than using FP's console IDE remotely. VS Code has official Remote Development extension that specifically used for such purpose. But I don't know whether it will work with raspi as the remote machine (architecture issue).
At least, you can open terminal, connect to your remote machine, and compile it from there. Don't forget when you save the file, set to automatically upload to the remote machine (there's a vs code extension for that as well).