what do people consider to be the best practice when developing new user macros?
coding in the small text box / save / edit a page with a new macro / code
seems to be a little awkward.
any better ideas? thanks
Community moderators have prevented the ability to post new answers.
It's akward!
I wrote tens of user macros exactly the way you descripe and it's a pain. So I guess that's not really an answer but just a confirmation that you're not alone.
a preview option for user macro's would be awesome, so maybe a feature request ?
ps. Most macro's I write nowadays are just packed withing a utlitty plugin, way easier to develop and more power :-)
You can modify .../confluence/admin/updateusermacro.vm to increase the size at least:
#tag( "Textarea" "label='user.macro.template'" "name='userMacro.template'" "rows=40" "cols=120" )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...or use a WebKit based browser which provides resizable textareas :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.