summaryrefslogtreecommitdiffstats
path: root/src/Config.ts
diff options
context:
space:
mode:
authorRowan Goemans <RB.Goemans@student.han.nl>2017-12-31 02:54:54 +0100
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2018-02-20 22:02:22 +0100
commit16e4ed410f2bc29e528bf6ec872bdf92478749a7 (patch)
tree9f9a661c150460de78fc8f88796158d2cb32f362 /src/Config.ts
parent1746f21bc3720585d2fe877db8d69aae301ff02c (diff)
downloaddoxdocgen-16e4ed410f2bc29e528bf6ec872bdf92478749a7.tar.gz
-- Added test for constructors and destructors.
-- Removed config value for null on bool pointer return. I think it's to confusing for users. -- Fixed some small remaining refactor bugs.
Diffstat (limited to 'src/Config.ts')
-rw-r--r--src/Config.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Config.ts b/src/Config.ts
index 6297a66..cce8f72 100644
--- a/src/Config.ts
+++ b/src/Config.ts
@@ -6,6 +6,7 @@ export class Config {
const cfg = workspace.getConfiguration("doxdocgen.generic");
+ values.triggerSequence = cfg.get<string>("triggerSequence", values.triggerSequence);
values.firstLine = cfg.get<string>("firstLine", values.firstLine);
values.commentPrefix = cfg.get<string>("commentPrefix", values.commentPrefix);
values.lastLine = cfg.get<string>("lastLine", values.lastLine);
@@ -14,7 +15,6 @@ export class Config {
values.newLineAfterTParams = cfg.get<boolean>("newLineAfterTParams", values.newLineAfterTParams);
values.includeTypeAtReturn = cfg.get<boolean>("includeTypeAtReturn", values.includeTypeAtReturn);
values.boolReturnsTrueFalse = cfg.get<boolean>("boolReturnsTrueFalse", values.boolReturnsTrueFalse);
- values.boolPointerReturnsNull = cfg.get<boolean>("boolPointerReturnsNull", values.boolPointerReturnsNull);
values.briefTemplate = cfg.get<string>("briefTemplate", values.briefTemplate);
values.paramTemplate = cfg.get<string>("paramTemplate", values.paramTemplate);
values.tparamTemplate = cfg.get<string>("tparamTemplate", values.tparamTemplate);
@@ -35,7 +35,6 @@ export class Config {
public newLineAfterTParams: boolean = false;
public includeTypeAtReturn: boolean = true;
public boolReturnsTrueFalse: boolean = true;
- public boolPointerReturnsNull: boolean = true;
public briefTemplate: string = "@brief ";
public paramTemplate: string = "@param {param} ";
public tparamTemplate: string = "@tparam {param} ";