Creates an instance of WorkShop.
The template file of what to generate documentation dynamically from.
The wanted block from the parser.
The configuration of the template file in use.
The document rows.
The active text editor document..
The active text editor.
The parser that corresponds the the current class.
The cursor's current position within the WorkShop.document
The template file text.
The available variables.
Check if the cursor is correctly placed in the function.
The row to search on.
If cursor is correctly placed.
Delete the triggerText string.
|undefined>)} A promise.
Start generateFunction, run different functions based on docType.
The type of documentation to make.
The configuration for this specific documentation.
If enter activated the extension.
Promise to return a void.
Converts the template file to its correct values, then move cursor to correct place. Then continue to insert the documentation.
If extension was activated by pressing Enter.
If should place strictly, basically if it should insert directly at the cursor's position.
Promises a void.
Get the comment based on the language and the variable wanted.
What comment wanted.
The comment string.
Get the current column in the editor
The line index.
The column the user is positioned at.
Get all the rows after function start line.
If extension was activated by pressing enter.
The index of the function's start line.
Get the variables based on the language.
The start index of the function.
An promise to return the variables.
Set the code block.
The start index of the function.
Move down cursor in editor and wait for it.
|undefined>)} A promise.
Insert a line and wait for it.
|undefined>)} A promise.
Generated using TypeDoc
Class that handles most functions besides after requirements from EasyDoc class have been met.
WorkShop