Closed dmitrach closed 4 years ago
Using /**
will not work for snippets with multiple lines. You will have to select the whole function signature, open VS Code's command palette, and select the Render from selection
command.
Oh, yes, it works! But it is inconvenient)
While it may be inconvenient, unfortunately it's the most reliable option with the current architecture. VS Code doesn't provide a reliable API for extracting symbols so a language agnostic parser is used. The entire document would need to be consumed in order to determine the end of the function signature. This would be very complex to implement and could get resource expensive if a user has a syntax error.
Describe the bug Does not generate comments for multiple lines of function arguments.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should generate a comment block.
Code
Screenshots
Enviroment (please complete the following information):