summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Schlosser <christophschlosser@users.noreply.github.com>2019-06-22 15:45:50 +0200
committerGitHub <noreply@github.com>2019-06-22 15:45:50 +0200
commit2d7a744527e469397a6dce6f27d60fac4382ee53 (patch)
tree8c9d93c77539f572b59462942fd4cb068808355c
parentcd5f4ee6d59a16c5fc99c6deb681a325e0995c35 (diff)
downloaddoxdocgen-2d7a744527e469397a6dce6f27d60fac4382ee53.tar.gz
Release 0.4.3 (#115)0.4.3
* Remove now out of date notification * Set to release 0.4.3
-rw-r--r--CHANGELOG.md6
-rw-r--r--LICENSE2
-rw-r--r--package.json2
-rw-r--r--src/extension.ts32
4 files changed, 10 insertions, 32 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5aa7e35..0c9ed6d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log
+## [0.4.3]
+
+### Fix
+
+- Trigger Sequence /** causes extra */ to be generated and the comment block isn't fully generated. (#111)
+
## [0.4.2]
### Fix
diff --git a/LICENSE b/LICENSE
index f100565..b0772e0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2017-2018 Christoph Schlosser
+Copyright (c) 2017-2019 Christoph Schlosser
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/package.json b/package.json
index 8302a6e..324b067 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "doxdocgen",
"displayName": "Doxygen Documentation Generator",
"description": "Let me generate Doxygen documentation from your source code for you.",
- "version": "0.4.2",
+ "version": "0.4.3",
"publisher": "cschlosser",
"engines": {
"vscode": "^1.16.0"
diff --git a/src/extension.ts b/src/extension.ts
index 7a17b52..347b392 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -1,19 +1,12 @@
"use strict";
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
-import * as opn from "opn";
import * as vscode from "vscode";
import CodeParserController from "./CodeParserController";
-enum ConfigChangedNotificationOptions {
- CHANGED = "What's changed",
- HIDE = "Don't show me again",
- GLOBAL_STORAGE_KEY = "doxdocgen_hide_config_changed_notification",
-}
-
enum Version {
- CURRENT = "0.4.2",
- PREVIOUS = "0.4.1",
+ CURRENT = "0.4.3",
+ PREVIOUS = "0.4.2",
KEY = "doxdocgen_version",
}
@@ -24,31 +17,10 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(parser);
- let change: boolean = false;
-
const version = context.globalState.get<string>(Version.KEY);
if (version === undefined) {
context.globalState.update(Version.KEY, Version.CURRENT);
} else if (version !== Version.CURRENT) {
- change = true;
context.globalState.update(Version.KEY, Version.CURRENT);
}
-
- let notificationHideThenable: Thenable<string>;
- const active = context.globalState.get<string>(ConfigChangedNotificationOptions.GLOBAL_STORAGE_KEY);
- if (change && (active === undefined || active !== "false")) {
- // tslint:disable-next-line:max-line-length
- notificationHideThenable = vscode.window.showWarningMessage("DoxDocGen: Config keys have changed. Please check your config!", ConfigChangedNotificationOptions.CHANGED, ConfigChangedNotificationOptions.HIDE);
- }
-
- if (notificationHideThenable !== undefined) {
- notificationHideThenable.then((action) => {
- if (action === ConfigChangedNotificationOptions.CHANGED) {
- // tslint:disable-next-line:max-line-length
- opn("https://github.com/christophschlosser/doxdocgen/blob/0.3.0/CHANGELOG.md#config-update");
- } else if (action === ConfigChangedNotificationOptions.HIDE) {
- context.globalState.update(ConfigChangedNotificationOptions.GLOBAL_STORAGE_KEY, "false");
- }
- });
- }
}