Menu

Param and Calltip Help Please!

2008-11-13
2012-11-13
  • eric werner

    eric werner - 2008-11-13

    Hello! I managed to create my own autocomplete file for Maya MEL. But actually I'd love to have the params available as well. But I cannot find decent information about how to achieve that!

    http://notepad-plus.wiki.sourceforge.net/Create_AutoComplete

    This for instance does not work.
    Where are working examples for that? What should I try to see that in action.
    The settings in "Auto-completion"-section are enabled. My NP++ version is: Notepad++ v5.1

     
    • DV

      DV - 2008-11-13

      see plugins\APIs\cpp.xml as the example: it contains params for "fopen"

       
    • eric werner

      eric werner - 2008-11-17

      Hey DV! Thanks for replying: But doesn't help.
      I got the cpp.xml and it works for the command autocomplete but no param at all:

      <image src="http://img219.imageshack.us/img219/9509/aashots092tz5.jpg">

      "Function parameters hint on input" IS set!

       
    • Harry

      Harry - 2008-11-17

      Could you post an example on how you create your params? Maybe there is a typo somewhere along the line

      You can also try to force the params to show even if
      "Function parameters hint on input"
      is disabled by (default) pressing ctrl-shift-space

      If you can also post the environment tag (or just upload the entire xml somewhere (but dont post it literally, makes it hard to read =]))

       
    • DV

      DV - 2008-11-18

      Be sure you are editing a file with ".cpp" extension.
      The pop-up window (the hint) with parameters will be shown right after you type

      fopen(

      The hint will not be shown until you type the opening brace '(' .