I'm severely limited by IT restrictions. No chance to get an IDE or even Notepad++. I only have access to Python because it comes with ArcGIS, I can't get packages other than the ones that are preinstalled...
So, I use the expression window in ArcGIS Pro, even for really long expressions. It needs a button to maximize it, but else it's doable.
Have a great day!
Johannes