Fixed indentation issue #4 and previously the cursor had to be placed before the function definition for the extension to work, now it does not.
The getTarget() function now checks from the start of the line, and generateComment() now prefixes the comment block with the same whitespace spaces or tabs indentation as the function def line used.
Fixed indentation issue #4 and previously the cursor had to be placed before the function definition for the extension to work, now it does not.
The getTarget() function now checks from the start of the line, and generateComment() now prefixes the comment block with the same whitespace spaces or tabs indentation as the function def line used.
CMD/Ctrl + Shift + D can also be used now