P5.js Desktop Editor

If you really need an offline version of the P5.js editor, then why don’t you just download the editor webpage?

Alternatively you can use whatever basic text editor your want, and then refresh the browser page to see your changes.

As for the Processing editor, I don’t see why it would have any restrictions that P5.js by itself doesn’t have, but I haven’t specifically tried it so I suppose I could be wrong.