Notepad ++

Regexp for searching functions

    //line containing 'function(' not starting with '}/'

better one

// note: avoid using comments //or /* after 'function'

Adding Line numbers


Column Editor:

Column Editor (Alt + C) provides a way to insert line numbers. Options exist to choose the starting number, interval, and how often each number should be repeated. Place the cursor on the first position of the first line and increment by one to mimic the actual line numbers.