#116 POD in content assist

open
nobody
None
5
2009-02-08
2009-02-08
MattLG
No

Content assist is my favourite feature in EPIC. but the one feature that I think is missing is showing the POD for each of the package methods. It would be so cool if the POD for the methods was shown when the cursor was on each of the available options.

So if the cursor in the content assist is over "new()" then open a tooltip to show any POD that matches "=item new()", Then if I move the cursor down the content assist to "do_something()", the tooltip changes to the POD matching "=item do_something()".

Interpreting the POD is probably a time consuming task so maybe this feature should be switchable in the preferences.

Discussion

  • MattLG
    MattLG
    2009-02-08

    Actually, those POD matches should probably be something like this:

    =item new(.*)

    so that it would match something like the following:

    =item new(Parent::Child, ID, Regexp [, Default Value, Label])

     
  • MattLG
    MattLG
    2009-02-08

    Or maybe of the form:

    =item .* new(.*)

    so that it would match something like the following (to represent a return value):

    =item This::Package new(Parent::Child, ID, Regexp [, Default Value, Label])