Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Debug user macros

Andrei [errno]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 27, 2011

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

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Stefan Kohler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2011

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 :-)

0 votes
Bob Swift (personal)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2011

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" )

David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 28, 2011

...or use a WebKit based browser which provides resizable textareas :)

TAGS
AUG Leaders

Atlassian Community Events