Version 9 (modified by bowtie, 17 months ago) (diff)


Functions and Outline

The tool shows the layout (class, methods, functions, etc.) and will also show the list of variables declared in the code.

There are two tools to show the layout of the code. The simpler one is using a simple regex and shows only the functions in the current file. You can turn it on using View -> Show Functions. At the top of the window there is a search box for filtering the functions names. Clicking on the name of a function will let you jump to the definition of that function. There is currently no right-click support in this window.

Functions window 0.85

The more complex system is called Outline. You can turn it on via View -> Show Outline. It is using PPI hence it is slower and more CPU intensive but it is also more correct and it show additional information such as the name of the package, the list of pragmata, list of modules used, list of functions or methods declared in the file. Double-clicking on the items (or pressing ENTER) will let you jump to their definintion or to their use statement. Right-click on the entries will show a list of actions. Currently this includes Go to Element which is just the same as double-clicking on the item. Clicking on Open Documentation where available, will open the documentation of the specific pragmata or module. Unfortunately when closing the documentation it currently crashes Padre. ( #1178 )

Outline Window 0.85

  • Padre 0.97+ showing Moose Methods and Attributes

Outline from Ubuntu showing Moose Methods and Attributes


Ticket Resolution Summary Owner Reporter
#1491 Outline Entries Not Displayed on OSX sjm
#1435 fixed outline entries can become padded (too high) when typing 'has' bowtie dod
#1209 fixed Enable MooseX::Declare Method Modifiers in OutLine bowtie
#1206 fixed Package 'main' lost in outline if followed by another package whumann
#1155 fixed Outline and Functions don't work with unsaved files azornik
#1047 fixed Outline becomes empty after fast file switching abraxxa
#938 Outline should display methods created by Class::XSAccessor zenogantner
#936 wontfix "use 5.008" does not show up in the outline zenogantner
#920 (wishlist) outline: "new" method should be highlighted zenogantner
#919 (wishlist) text cursor position should be highlighted in the outline zenogantner
#910 direct manipulation in outline zenogantner
#826 fixed Allow changing the FunctionList sort order by right click adamk
#773 fixed Cannot Close Outline Window kthakore
#735 fixed Functions panel differs from Highlighting and Perl Sewi
#552 fixed outline view nests stigmata and packages wrongly rhebus
#541 fixed wrong outline can get displayed for a document zenogantner rhebus
#538 not relevant outline view info takes too long to refresh rhebus
#473 outline view should remember which subtree is opened jquelin
#401 fixed Output Panel should show moose (attributes, methods and method modifiers) jquelin
#315 Icons on the Outline window to filter types szabgab
#312 fixed Max one outline job per document at a time tsee
#63 fixed Code browser szabgab
#62 wontfix Var tree szabgab