Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Make optional the line jump after description free-type area #211

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@
"type": "boolean",
"default": false,
"description": "When enabled, will add the @date tag in YYYY-MM-DD format."
},
"docthis.includeExtraLineAfterDescription": {
"type": "boolean",
"default": true,
"description": "When enabled, will jump a line after description free-type area before showing other tags"
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion src/documenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ export class Documenter implements vs.Disposable {
sb.appendLine();

// Jump a line after description free-type area before showing other tags
sb.appendLine();
if (vs.workspace.getConfiguration().get("docthis.includeExtraLineAfterDescription", true)) {
sb.appendLine();
}
}
}

Expand Down