When editing an object of XWiki.WikiMacroClass, the Macro Code field size can't be changed, either being resized or maximizeed.
Providing a "Maximize" button and/or a way to resize the field could help reading/writing the code of the macro.