diff options
| author | Christoph Schlosser <christoph@linux.com> | 2018-02-24 23:29:59 +0100 |
|---|---|---|
| committer | Christoph Schlosser <christophschlosser@users.noreply.github.com> | 2018-02-25 01:58:38 +0100 |
| commit | 041439c5544ca8f9627a922e125dbf7e7ad11769 (patch) | |
| tree | 9e3047bd1a3f40d1e2de02e5a736c26ad3980e68 /package.json | |
| parent | f928a1049c6582e2fbb044676c5bbca89d9b7e33 (diff) | |
| download | doxdocgen-041439c5544ca8f9627a922e125dbf7e7ad11769.tar.gz | |
Add options and allow change of option order
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 288 |
1 files changed, 152 insertions, 136 deletions
diff --git a/package.json b/package.json index d19ff9e..5b6379c 100644 --- a/package.json +++ b/package.json @@ -1,139 +1,155 @@ { - "name": "doxdocgen", - "displayName": "Doxygen Documentation Generator", - "description": "Generate doxygen documentation from source code", - "version": "0.1.0", - "publisher": "cschlosser", - "engines": { - "vscode": "^1.16.0" - }, - "categories": [ - "Other" - ], - "activationEvents": [ - "onLanguage:cpp", - "onLanguage:c" - ], - "contributes": { - "configuration": { - "type": "object", - "title": "Doxygen Documentation Generator Settings", - "properties": { - "doxdocgen.generic.triggerSequence": { - "description": "Doxygen comment trigger. This character sequence triggers generation of DoxyGen comments.", - "type": "string", - "default": "/**" - }, - "doxdocgen.generic.firstLine": { - "description": "The first line of the comment that gets generated. If empty it won't get generated at all.", - "type": "string", - "default": "/**" - }, - "doxdocgen.generic.commentPrefix": { - "description": "The prefix that is used for each comment line.", - "type": "string", - "default": " * " - }, - "doxdocgen.generic.lastLine": { - "description": "The last line of the comment that gets generated. If empty it won't get generated at all.", - "type": "string", - "default": " */" - }, - "doxdocgen.generic.newLineAfterBrief": { - "description": "Whether to insert a newline after a brief.", - "type": "boolean", - "default": true - }, - "doxdocgen.generic.newLineAfterParams": { - "description": "Whether to insert a newline after the params.", - "type": "boolean", - "default": false - }, - "doxdocgen.generic.newLineAfterTParams": { - "description": "Whether to insert a newline after the template params.", - "type": "boolean", - "default": false - }, - "doxdocgen.generic.includeTypeAtReturn": { - "description": "Whether include type information at return.", - "type": "boolean", - "default": true - }, - "doxdocgen.generic.boolReturnsTrueFalse": { - "description": "If this is enabled a bool return value will be split into true and false return param.", - "type": "boolean", - "default": true - }, - "doxdocgen.generic.briefTemplate": { - "description": "The template of the brief DoxyGen line that is generated. If empty it won't get generated at all.", - "type": "string", - "default": "@brief " - }, - "doxdocgen.generic.paramTemplate": { - "description": "The template of the param DoxyGen line(s) that are generated. If empty it won't get generated at all.", - "type": "string", - "default": "@param {param} " - }, - "doxdocgen.generic.tparamTemplate": { - "description": "The template of the template parameter DoxyGen line(s) that are generated. If empty it won't get generated at all.", - "type": "string", - "default": "@tparam {param} " - }, - "doxdocgen.generic.returnTemplate": { - "description": "The template of the return DoxyGen line that is generated. If empty it won't get generated at all.", - "type": "string", - "default": "@return {type} " - }, - "doxdocgen.generic.linesToGet": { - "description": "How many lines the plugin should look for to find the end of the declaration. Please be aware that setting this value too low may improve the speed of comment generation but the plugin also may not correctly detect all declarations or definitions anymore.", - "type": "number", - "default": 20 - }, - "doxdocgen.file.author": { - "description": "Set the style of the author tag and your name.", - "type": "string", - "default": "@author your name" - }, - "doxdocgen.file.file": { - "description": "The template for the file parameter in DoxyGen.", - "type": "string", - "default": "@file {name}" - } - } + "name": "doxdocgen", + "displayName": "Doxygen Documentation Generator", + "description": "Generate doxygen documentation from source code", + "version": "0.1.0", + "publisher": "cschlosser", + "engines": { + "vscode": "^1.16.0" + }, + "categories": [ + "Other" + ], + "activationEvents": [ + "onLanguage:cpp", + "onLanguage:c" + ], + "contributes": { + "configuration": { + "type": "object", + "title": "Doxygen Documentation Generator Settings", + "properties": { + "doxdocgen.generic.triggerSequence": { + "description": "Doxygen comment trigger. This character sequence triggers generation of DoxyGen comments.", + "type": "string", + "default": "/**" + }, + "doxdocgen.generic.firstLine": { + "description": "The first line of the comment that gets generated. If empty it won't get generated at all.", + "type": "string", + "default": "/**" + }, + "doxdocgen.generic.commentPrefix": { + "description": "The prefix that is used for each comment line.", + "type": "string", + "default": " * " + }, + "doxdocgen.generic.lastLine": { + "description": "The last line of the comment that gets generated. If empty it won't get generated at all.", + "type": "string", + "default": " */" + }, + "doxdocgen.generic.newLineAfterBrief": { + "description": "Whether to insert a newline after a brief.", + "type": "boolean", + "default": true + }, + "doxdocgen.generic.newLineAfterParams": { + "description": "Whether to insert a newline after the params.", + "type": "boolean", + "default": false + }, + "doxdocgen.generic.newLineAfterTParams": { + "description": "Whether to insert a newline after the template params.", + "type": "boolean", + "default": false + }, + "doxdocgen.generic.includeTypeAtReturn": { + "description": "Whether include type information at return.", + "type": "boolean", + "default": true + }, + "doxdocgen.generic.boolReturnsTrueFalse": { + "description": "If this is enabled a bool return value will be split into true and false return param.", + "type": "boolean", + "default": true + }, + "doxdocgen.generic.briefTemplate": { + "description": "The template of the brief DoxyGen line that is generated. If empty it won't get generated at all.", + "type": "string", + "default": "@brief " + }, + "doxdocgen.generic.paramTemplate": { + "description": "The template of the param DoxyGen line(s) that are generated. If empty it won't get generated at all.", + "type": "string", + "default": "@param {param} " + }, + "doxdocgen.generic.tparamTemplate": { + "description": "The template of the template parameter DoxyGen line(s) that are generated. If empty it won't get generated at all.", + "type": "string", + "default": "@tparam {param} " + }, + "doxdocgen.generic.returnTemplate": { + "description": "The template of the return DoxyGen line that is generated. If empty it won't get generated at all.", + "type": "string", + "default": "@return {type} " + }, + "doxdocgen.generic.linesToGet": { + "description": "How many lines the plugin should look for to find the end of the declaration. Please be aware that setting this value too low may improve the speed of comment generation but the plugin also may not correctly detect all declarations or definitions anymore.", + "type": "number", + "default": 20 + }, + "doxdocgen.generic.authorTag": { + "description": "Set the style of the author tag and your name.", + "type": "string", + "default": "@author your name" + }, + "doxdocgen.generic.fileTemplate": { + "description": "The template for the file parameter in DoxyGen.", + "type": "string", + "default": "@file {name}" + }, + "doxdocgen.generic.dateTemplate": { + "description": "The template for the date parameter in DoxyGen.", + "type": "string", + "default": "@date {date}" + }, + "doxdocgen.generic.dateFormat": { + "description": "The format to use for the date.", + "type": "string", + "default": "YYYY-MM-DD" + }, + "doxdocgen.generic.fileOrder": { + "description": "The order to use for the date. Valid values are shown in default setting.", + "type": ["array", "string"], + "default": ["brief", "file", "author", "date"] } - }, - "icon": "images/icon.png", - "keywords": [ - "cpp", - "c++", - "c", - "doxygen" - ], - "license": "SEE LICENSE IN LICENSE", - "main": "./out/extension", - "repository": { - "type": "git", - "url": "https://github.com/christophschlosser/doxdocgen.git" - }, - "bugs": { - "url": "https://github.com/christophschlosser/doxdocgen/issues" - }, - "scripts": { - "vscode:prepublish": "npm run compile", - "compile": "tsc -p ./", - "watch": "tsc -watch -p ./", - "postinstall": "node ./node_modules/vscode/bin/install", - "test": "npm run compile && node ./node_modules/vscode/bin/test" - }, - "devDependencies": { - "typescript": "^2.7.2", - "vscode": "^1.1.10", - "@types/node": "^7.0.43", - "@types/mocha": "^2.2.48", - "tslint": "^5.9.1", - "istanbul": "^0.4.5", - "mocha": "^5.0.1", - "remap-istanbul": "^0.10.1", - "decache": "^4.4.0" + } } -}
\ No newline at end of file + }, + "icon": "images/icon.png", + "keywords": [ + "cpp", + "c++", + "c", + "doxygen" + ], + "license": "SEE LICENSE IN LICENSE", + "main": "./out/extension", + "repository": { + "type": "git", + "url": "https://github.com/christophschlosser/doxdocgen.git" + }, + "bugs": { + "url": "https://github.com/christophschlosser/doxdocgen/issues" + }, + "scripts": { + "vscode:prepublish": "npm run compile", + "compile": "tsc -p ./", + "watch": "tsc -watch -p ./", + "postinstall": "node ./node_modules/vscode/bin/install", + "test": "npm run compile && node ./node_modules/vscode/bin/test" + }, + "devDependencies": { + "@types/mocha": "^2.2.48", + "@types/node": "^7.0.43", + "decache": "^4.4.0", + "istanbul": "^0.4.5", + "mocha": "^5.0.1", + "moment": "^2.20.1", + "remap-istanbul": "^0.10.1", + "tslint": "^5.9.1", + "typescript": "^2.7.2", + "vscode": "^1.1.10" + } +} |