Coding with a purpose

Netbeans 6.5 Code folding and test files

18 January, 2009 · Leave a Comment

I don’t know how many people will find this useful, but it made me lose some time, so that’s why I’m sharing.
I use Netbeans code folding and the Shoulda plugin by Thoughtbot. Today I ran into this strange situation where Netbeans wasn’t showing the folds for one of my files, but it did for the others.
The reason why no folds were appearing in one of the files was that its name didn’t end in ‘_test.rb’. I changed it and the ‘context’ and ’should’ code folds appeared.
That was pretty annoying, but good thing I found out.

Categories: Uncategorized

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment