Netbeans 6.5 Code folding and test files

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s