September 18, 2009
Poll Result: Java Is Most Preeminent in Europe.
Some voters in this past week's java.net poll questioned whether the question could be answered, but the result showed that a plurality of voters considered Europe to be region where Java has the greatest market share among competing technologi...
More »
September 17, 2009
Sun Collaborates with Software Freedom International to Connect More than 25,000 Developers and Students in 30 Countries for Software Freedom Day 2009. Building on its commitment to empower developers and students across the globe, Sun Microsystems, Inc. (NASDAQ: JAVA) is sponsoring more than 300 community style events in more than 30 countries for Software Freedom Day (SFD) on September 19, 2009. W...
More »
November/2009
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | | 8 | 9 | 10 | 11 | 12 | 13 | 14 | | 15 | 16 | 17 | 18 | 19 | 20 |
21 | | 22 | 23 | 24 | 25 | 26 | 27 | 28 | | 29 | 30 | | | | | |
|
 |
Ruby Screenshot of the Week #29: Test Navigator for RSpec
Let's start with the screenshot:
The thing to notice here is that we have a number of RSpec do-blocks in this file. Until now, only classes, methods, fields and attributes were showing up in the navigator. But in the latest daily builds, rspec do blocks like these are shown in the navigator (bottom left corner), along with the string summary (if any) such that you can quickly navigate between them. Placing the caret in one of these blocks will highlight the corresponding item in the navigator.
Adding a better navigator outline for spec files has been on the TODO list for a while, but apparently in the latest Rails builds regular tests are also switching away from using test methods to using test blocks (according to issue 137925, thanks James). So it seemed high time to do something about this.
The other thing to notice is that these blocks are also folded, so you can use Command-Shift-+ and - to collapse/expand all blocks quickly.
By the way, another old issue was fixed in NetBeans recently, which makes it easy to configure filetypes. In the past, if you wanted say .mab files to get Ruby treatment in the IDE, you'd file an issue and I'd modify the Ruby mimetype resolver to include it. The list is already pretty long -- .rb, .rake, .rxml, .rjs, .rbw, .rbx, .mab, .builder, .gemspec, and so on.
Now you can add any extra types you want yourself, using the Options | Miscellaneous | File Associations. Add any extension...
Date: June, 24 2008
Url: http://blogs.sun.com/tor/entry/ruby_screenshot_of_the_week27
Others News
Leave a Reply
Related
- Ruby Screenshot of the Week #26: Ruby 1.9 Changes - hashes and case ... Ruby 1.9 has been released. It's a ... April 11, 2009. Boot Environments in the OpenSolaris OS: Versatility Exemplified.
- Pokemon Ruby and Sapphire GBA Game Index Page - GamersHell.com ... use their flippers to hit the targets on the Ruby ... Pokemon Ruby and Sapphire Screenshots (8) ... Updated this Week Updated this Year None of the Above
- Ruby Screenshot of the Week #5 Tim Bray just posted an entry on his first experiments with the Ruby and NetBeans support and in particular, talks about the syntax highlighting. I was already planning on spending ...
- NetBeans Screenshot of the Week #39: Ruby Code Coverage, Python Code ... Here's a new feature for NetBeans 7.0: Code Coverage support!
- Learn Ruby on Rails from Scratch: Week 2 - Nettuts+ Welcome to Ruby on Rails From Scratch Week 2. Hopefully this sequel to week 1 will help to further ... To satisfy my curiosity, What is the text editor in those screenshot? Thanks
- Pablotron: A Good Week for Gadgets ... Screenshots:: Gallery:: Links ... FAM-Ruby Freshmeat-Ruby FT2-Ruby Honeypot-PHP Imlib2-Ruby ... playing Rainbow Six a lot. So yeah, this is a great week ...
- Ruby Screenshot of the Week #30: New YAML Editor As part of our Ruby and Rails support, we've had a YAML editor in NetBeans for a couple of releases now. However, the support was primitive. Only the most basic editing features ...
- IT Influentials Clustering Engine All results (200) Ruby Screenshot of the Week (59)
- Tor Norbye's Weblog Friday May 18, 2007 Ruby Screenshot of the Week #11: Rails Debugging. First the screenshot - click for full resolution: The NetBeans Ruby support now lets you debug Rails ...
- Sam Ruby: Porting REXML to Ruby 1.9 Tor Norbye: Ruby Screenshot of the Week #26: Ruby 1.9 Changes - hashes and case statements. Ruby 1.9 has been released . It’s a “development” version meaning that you wouldn ...
- Ruby Agenda Screenshots Ruby Agenda Screenshots These are two screenshots taken from Ruby Agenda v0.7 on my iPAQ. ... v0.9-pre1) The Week view, that (for now?) can start on any day of the ...
- Ruby Screenshot of the Week #4 If you try code completion on any complicated arbitrary expression, it will show you a number of possible method completions along with the corresponding class. This gives you much ...
- Tor Norbye's Weblog Monday October 08, 2007 Ruby Screenshot of the Week #20: Purdy Colors! A lot of people have asked for a "dark color theme" for NetBeans, possibly because there are several ...
- Ruby Lane: Antiques & Art, Vintage Collectibles, Jewelry: Sat, April ... Stroll down Ruby Lane to find quality Antique, Collectible, Fine Art, Jewelry and Vintage ... Category Overview | New Shops | Featured Shops | Today's Arrivals | This Week's ...
- Ruby Screenshot of the Week #34: Detecting Duplicates Hash Keys You didn't think we had forgotten Ruby, did you? Here's a new Ruby editor feature: Detecting duplicate hashkeys. As Fjan (who filed the request) says, when some Rails calls allow ...
|