Cory Foy

Wednesday, May 17, 2006

Hiding variable declarations in Fitnesse

Handy little tip - if your page has a lot of variable declarations like:

!define myVar {1}
!define myOtherVar {2}
!define someOtherVar (blahblah)


You can hide it from view by wrapping it with a collapsable section. So the above would look like:

!*****> Variable Declarations
!define myVar {1}
!define myOtherVar {2}
!define someOtherVar (blahblah)
**********!


and would show up automatically collapsed (thanks to the use of the greater-than sign.)

1 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home