Menu

Function List Suggestion

2007-04-04
2012-11-14
  • Nobody/Anonymous

    Hi There !

    We're using the function list plugin over here, and it turns out to be a very cool plugin :)
    However, there is a small functionality we'd like to see added if that's possible.

    Thanks to the regular expressions, we are able to make the distinction between classes, methods, structs & so on (we're programming in an exotic language :p) and to display them in the function list as "Function XXX" and "Class YYY", so that we can jump directly to these parts of the code. The small problem is, the list is getting long, and we'd like to be able to distinguish the lines by using different colours for each rule.

    So that we end up with something like this :

    Class XXX (appears in Black)
    Method A (appears in Blue)
    Method B (appears in Blue)
    Class YY (appears in Black)
    Method C (appears in Blue)

    We think this would be quite cool and it would be a nice feature until the plugin can provide us with a real class browser.

    Another quick question, is the plugin able to display a tooltip containing parameters when we type a known function ? I know it does display one when we leave the mouse cursor over the name of the function in the list, but that's a little less convenient.

    Thanks in advance.

    EC Team

     
    • Nobody/Anonymous

      .. another suggestion that comes to my mind would be to allow collapsing/expanding the results of certain rules. Still based on the example above :

      (expanded)
      - Class XXX (appears in Black)
      Method A (appears in Blue)
      Method B (appears in Blue)
      - Class YY (appears in Black)
      Method C (appears in Blue)

      (collapsed)
      + Class XXX (appears in Black)
      + Class YY (appears in Black)

      We would thus say that the rule for classes allows this, and it would automatically include all the matches (ie: methods) between two occurences of that level (ie: classes).

       
    • Nobody/Anonymous

      I am still working on collapsing/expanding... Be patient ;)
      See progress on http://sourceforge.net/projects/npp-plugins/

      Best Regards
      Jens