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.

Bug 109087 - editor feature request: collapse all def blocks
Summary: editor feature request: collapse all def blocks
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-08 16:12 UTC by jamespb
Modified: 2011-01-28 20:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamespb 2007-07-08 16:12:56 UTC
It would be useful to have a 'collapse all defs' action in the Ruby editor.

I usually end up collapsing all, then double-clicking to open up the classes/modules, and leaving the defs collapsed.
Comment 1 Martin Krauskopf 2008-02-13 15:07:06 UTC
I think this now works exactly as you described, right?
Comment 2 jamespb 2008-02-13 17:18:46 UTC
I don't think there's a way to do this.  Given:


class A
  class B
    def foo      
    end
  end
end

I'd like to be able to collapse just the 'def foo' - right now the collapse all function will collapse all of 'class B'
Comment 3 Martin Krauskopf 2008-02-13 18:34:04 UTC
Aha. I meant not-nested classes which did not work as well in the past (now do). Nested classes/modules still do not work.