This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Seems like the only time the hints for converting do/end <=> {} are enabled is when the cursor is on the first line of the block. It'd be nice if they were turned on when the entire block was selected. Makes this sequence easier: alt-shit-. alt-enter <choose conversion>
Fixed. It's now enabled when the caret is on the beginning or end lines of the block (but not outside the block on those lines). IDE:------------------------------------------------- IDE: [10/17/07 8:15 AM] Committing started cvs server: scheduling file `convertblocks6.rb.testHintFix21.fixed' for addition cvs server: scheduling file `convertblocks5.rb.testHintFix20.fixed' for addition cvs server: scheduling file `convertblocks.rb.testHintFix22.fixed' for addition cvs server: use 'cvs commit' to add these files permanently RCS file: /cvs/ruby/hints/extrahints/test/unit/data/testfiles/convertblocks.rb.testHintFix22.fixed,v done Checking in test/unit/data/testfiles/convertblocks.rb.testHintFix22.fixed; /cvs/ruby/hints/extrahints/test/unit/data/testfiles/convertblocks.rb.testHintFix22.fixed,v <-- convertblocks.rb.testHintFix22.fixed initial revision: 1.1 done RCS file: /cvs/ruby/hints/extrahints/test/unit/data/testfiles/convertblocks5.rb.testHintFix20.fixed,v done Checking in test/unit/data/testfiles/convertblocks5.rb.testHintFix20.fixed; /cvs/ruby/hints/extrahints/test/unit/data/testfiles/convertblocks5.rb.testHintFix20.fixed,v <-- convertblocks5.rb.testHintFix20.fixed initial revision: 1.1 done RCS file: /cvs/ruby/hints/extrahints/test/unit/data/testfiles/convertblocks6.rb.testHintFix21.fixed,v done Checking in test/unit/data/testfiles/convertblocks6.rb.testHintFix21.fixed; /cvs/ruby/hints/extrahints/test/unit/data/testfiles/convertblocks6.rb.testHintFix21.fixed,v <-- convertblocks6.rb.testHintFix21.fixed initial revision: 1.1 done Checking in test/unit/src/org/netbeans/modules/ruby/extrahints/ConvertBlockTypeTest.java; /cvs/ruby/hints/extrahints/test/unit/src/org/netbeans/modules/ruby/extrahints/ConvertBlockTypeTest.java,v <-- ConvertBlockTypeTest.java new revision: 1.14; previous revision: 1.13 done Checking in src/org/netbeans/modules/ruby/extrahints/ConvertBlockType.java; /cvs/ruby/hints/extrahints/src/org/netbeans/modules/ruby/extrahints/ConvertBlockType.java,v <-- ConvertBlockType.java new revision: 1.18; previous revision: 1.17 done IDE: [10/17/07 8:16 AM] Committing finished