Menu

How about auto-completion of variable names?

Anonymous
2008-03-07
2012-11-14
  • Anonymous

    Anonymous - 2008-03-07

    Is this the right place to post this?

    Zend Development Studio has this very simple funcionality: after you declare vars across the documents, it optionally auto-completes the var names you had declared for you when you start typing them again. That's speially easy with PHP since all vars start with a '$', but I suppose there must be a way to identify vars in other languages as well.

    I think that's not possible to do on Notepad++ now, but it should be easy to implement a plugin or add that functionality n future versions...

     
    • Nobody/Anonymous

      And is there any possibility of extedning code auto-completion list to make it show function parameters? Now only way is duplicating function names in .api file, where first is eg.
      "implode" and the second "implode (strig $glue, array $elements)".

       
    • Nobody/Anonymous

      Try word-completion.

       
    • Anonymous

      Anonymous - 2008-03-31

      Umm... well that's sure a workaround... it is however an annoyingly wide completion rule. In a lengthy page nearly everything you type will come up with a suggestion. Now that I think of it, what I wanted is JUST LIKE word-completion only in that it only tries to complete words starting with "$". I think it can't currently be done...