Menu

DocBlock: Insert asterisk automatically

2008-02-08
2012-11-13
  • Nobody/Anonymous

    Hello!

    When writing PHP programs, I use docblock comments like this:

    /**
    *  Great function
    *
    *  This function does a lot of things...
    */

    Is there a way to make Notepad++ automatically insert the * at the beginning of each line when pressing the enter key while I'm inside the docblock? That would be great.

    Greetings,
    Thomas

     
    • Nobody/Anonymous

      ... and preserve the indentation correctly, like one space before the * in my above example? (Somehow, the leading spaces were removed from my posting.)

      Greetings again,
      Thomas