From 0ebfa5bd12e529d8febe73c85d3bf48c4d4997e8 Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Sat, 14 Oct 2017 22:29:02 +0200 Subject: -- Added extensive templating the be able to generated different types of doxygen comment. --- src/Config.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/Config.ts') diff --git a/src/Config.ts b/src/Config.ts index 2e449cf..f8011c3 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -3,6 +3,15 @@ export enum ConfigType { } export enum Config { - commentStart = "commentStart", - generateReturnType = "generateReturnType", + triggerSequence = "triggerSequence", + firstLine = "firstLine", + commentPrefix = "commentPrefix", + lastLine = "lastLine", + newLineAfterBrief = "newLineAfterBrief", + newLineAfterParams = "newLineAfterParams", + newLineAfterTParams = "newLineAfterTParams", + briefTemplate = "briefTemplate", + paramTemplate = "paramTemplate", + tparamTemplate = "tparamTemplate", + returnTemplate = "returnTemplate", } -- cgit v1.2.3 From cc0d69edcd362c1abde9d0005c70d8e3692395bc Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Sun, 15 Oct 2017 02:26:22 +0200 Subject: -- Fixed tslint issues. -- Added config parameter to add type information to return DoxyGen parameter. --- src/Config.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Config.ts') diff --git a/src/Config.ts b/src/Config.ts index f8011c3..3cc78fb 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -10,6 +10,7 @@ export enum Config { newLineAfterBrief = "newLineAfterBrief", newLineAfterParams = "newLineAfterParams", newLineAfterTParams = "newLineAfterTParams", + includeTypeAtReturn = "includeTypeAtReturn", briefTemplate = "briefTemplate", paramTemplate = "paramTemplate", tparamTemplate = "tparamTemplate", -- cgit v1.2.3 From d78b9876918ce8d65876968ee120b2144178af32 Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Sun, 15 Oct 2017 13:23:50 +0200 Subject: -- Fixed various issues that came out of the pull request review. --- src/Config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Config.ts') diff --git a/src/Config.ts b/src/Config.ts index 3cc78fb..0b9e593 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -5,7 +5,7 @@ export enum ConfigType { export enum Config { triggerSequence = "triggerSequence", firstLine = "firstLine", - commentPrefix = "commentPrefix", + prefix = "prefix", lastLine = "lastLine", newLineAfterBrief = "newLineAfterBrief", newLineAfterParams = "newLineAfterParams", -- cgit v1.2.3 From 32baa67d95609fc2b0f20c582fe152eeee98ff35 Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Sun, 15 Oct 2017 13:29:28 +0200 Subject: -- Fixed issues from review. --- src/Config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Config.ts') diff --git a/src/Config.ts b/src/Config.ts index 0b9e593..3cc78fb 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -5,7 +5,7 @@ export enum ConfigType { export enum Config { triggerSequence = "triggerSequence", firstLine = "firstLine", - prefix = "prefix", + commentPrefix = "commentPrefix", lastLine = "lastLine", newLineAfterBrief = "newLineAfterBrief", newLineAfterParams = "newLineAfterParams", -- cgit v1.2.3