Skip to content

Commit e5f6ee4

Browse files
committed
updated version
1 parent 3a9e12f commit e5f6ee4

File tree

1 file changed

+112
-104
lines changed

1 file changed

+112
-104
lines changed

package.json

+112-104
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,119 @@
11
{
2-
"name": "topper",
3-
"displayName": "topper",
4-
"description": "A fileheader utility",
5-
"version": "0.0.3",
6-
"publisher": "sidmishraw",
7-
"engines": {
8-
"vscode": "^1.13.0"
9-
},
10-
"categories": ["Snippets", "Other"],
11-
"activationEvents": ["onCommand:topper.addTopHeader"],
12-
"main": "./extension",
13-
"contributes": {
14-
"commands": [
15-
{
16-
"command": "topper.addTopHeader",
17-
"title": "Topper: Add header"
18-
}
2+
"name": "topper",
3+
"displayName": "topper",
4+
"description": "A fileheader utility",
5+
"version": "0.1.0",
6+
"publisher": "sidmishraw",
7+
"engines": {
8+
"vscode": "^1.13.0"
9+
},
10+
"categories": [
11+
"Snippets",
12+
"Other"
1913
],
20-
"configuration": {
21-
"type": "object",
22-
"title": "Topper configuration",
23-
"properties": {
24-
"topper.customTemplateParameters": {
25-
"type": "array",
26-
"description":
27-
"Configures template parameters. These parameters can be used in the header templates as placeholders.",
28-
"default": [
29-
{
30-
"personalProfile": {
31-
"author": "bulbasaur",
32-
"website": "bulbasaur.github.bitbucket.yababbdadado.com",
33-
"copyright": "None \n None",
34-
"license": "None",
35-
"email": "ivysaur.bulbasaur@venosaur.com"
36-
}
37-
},
14+
"activationEvents": [
15+
"onCommand:topper.addTopHeader"
16+
],
17+
"main": "./extension",
18+
"contributes": {
19+
"commands": [
3820
{
39-
"officeProfile": {
40-
"author": "John Doe",
41-
"department": "Product Development",
42-
"email": "john.doe@doejohn.com"
43-
}
21+
"command": "topper.addTopHeader",
22+
"title": "Topper: Add header"
4423
}
45-
]
46-
},
47-
"topper.headerTemplates": {
48-
"type": "array",
49-
"description":
50-
"Configure the templates for the headers depending on the languageId inferred by the editor. The list of language Ids can be found here: https://code.visualstudio.com/docs/languages/identifiers. \nIf the file's languageId is not configured here, it defaults to the `defaultCStyled` header template. \nPlease do not delete this template. Copy it over when configuring this section. \nNote: Please keep the `defaultCStyled` as the first element in the list of all the header templates. \nFor more information, refer to the Readme.md.",
51-
"default": [
52-
{
53-
"defaultCStyled": {
54-
"headerBegin": "/**",
55-
"headerPrefix": "*",
56-
"headerEnd": "*/",
57-
"template": [
58-
"${headerBegin}",
59-
"${headerPrefix} ${fileName}",
60-
"${headerPrefix} @author ${author}",
61-
"${headerPrefix} @description ${description}",
62-
"${headerPrefix} @created ${createdDate}",
63-
"${headerPrefix} @copyright ${copyright}",
64-
"${headerPrefix} @last-modified ${lastModifiedDate}",
65-
"${headerEnd}"
66-
]
67-
}
68-
},
69-
{
70-
"python": {
71-
"headerBegin": "#",
72-
"headerPrefix": "#",
73-
"headerEnd": "#",
74-
"template": [
75-
"${headerBegin}",
76-
"${headerPrefix} ${fileName}",
77-
"${headerPrefix} @author ${author}",
78-
"${headerPrefix} @description ${description}",
79-
"${headerPrefix} @created ${createdDate}",
80-
"${headerPrefix} @last-modified ${lastModifiedDate}",
81-
"${headerEnd}"
82-
]
83-
}
24+
],
25+
"configuration": {
26+
"type": "object",
27+
"title": "Topper configuration",
28+
"properties": {
29+
"topper.customTemplateParameters": {
30+
"type": "array",
31+
"description": "Configures template parameters. These parameters can be used in the header templates as placeholders.",
32+
"default": [
33+
{
34+
"personalProfile": {
35+
"author": "bulbasaur",
36+
"website": "bulbasaur.github.bitbucket.yababbdadado.com",
37+
"copyright": "None \n None",
38+
"license": "None",
39+
"email": "ivysaur.bulbasaur@venosaur.com"
40+
}
41+
},
42+
{
43+
"officeProfile": {
44+
"author": "John Doe",
45+
"department": "Product Development",
46+
"email": "john.doe@doejohn.com"
47+
}
48+
}
49+
]
50+
},
51+
"topper.headerTemplates": {
52+
"type": "array",
53+
"description": "Configure the templates for the headers depending on the languageId inferred by the editor. The list of language Ids can be found here: https://code.visualstudio.com/docs/languages/identifiers. \nIf the file's languageId is not configured here, it defaults to the `defaultCStyled` header template. \nPlease do not delete this template. Copy it over when configuring this section. \nNote: Please keep the `defaultCStyled` as the first element in the list of all the header templates. \nFor more information, refer to the Readme.md.",
54+
"default": [
55+
{
56+
"defaultCStyled": {
57+
"headerBegin": "/**",
58+
"headerPrefix": "*",
59+
"headerEnd": "*/",
60+
"template": [
61+
"${headerBegin}",
62+
"${headerPrefix} ${fileName}",
63+
"${headerPrefix} @author ${author}",
64+
"${headerPrefix} @description ${description}",
65+
"${headerPrefix} @created ${createdDate}",
66+
"${headerPrefix} @copyright ${copyright}",
67+
"${headerPrefix} @last-modified ${lastModifiedDate}",
68+
"${headerEnd}"
69+
]
70+
}
71+
},
72+
{
73+
"python": {
74+
"headerBegin": "#",
75+
"headerPrefix": "#",
76+
"headerEnd": "#",
77+
"template": [
78+
"${headerBegin}",
79+
"${headerPrefix} ${fileName}",
80+
"${headerPrefix} @author ${author}",
81+
"${headerPrefix} @description ${description}",
82+
"${headerPrefix} @created ${createdDate}",
83+
"${headerPrefix} @last-modified ${lastModifiedDate}",
84+
"${headerEnd}"
85+
]
86+
}
87+
}
88+
]
89+
}
8490
}
85-
]
8691
}
87-
}
92+
},
93+
"scripts": {
94+
"postinstall": "node ./node_modules/vscode/bin/install",
95+
"test": "node ./node_modules/vscode/bin/test"
96+
},
97+
"devDependencies": {
98+
"typescript": "^2.0.3",
99+
"vscode": "^1.0.0",
100+
"mocha": "^2.3.3",
101+
"eslint": "^3.6.0",
102+
"@types/node": "^6.0.40",
103+
"@types/mocha": "^2.2.32"
104+
},
105+
"keywords": [
106+
"file header",
107+
"fileheader",
108+
"template",
109+
"code template"
110+
],
111+
"repository": {
112+
"type": "git",
113+
"url": "https://github.com/sidmishraw/topper.git"
114+
},
115+
"bugs": {
116+
"url": "https://github.com/sidmishraw/topper/issues",
117+
"email": "sidmishraw@hotmail.com"
88118
}
89-
},
90-
"scripts": {
91-
"postinstall": "node ./node_modules/vscode/bin/install",
92-
"test": "node ./node_modules/vscode/bin/test"
93-
},
94-
"devDependencies": {
95-
"typescript": "^2.0.3",
96-
"vscode": "^1.0.0",
97-
"mocha": "^2.3.3",
98-
"eslint": "^3.6.0",
99-
"@types/node": "^6.0.40",
100-
"@types/mocha": "^2.2.32"
101-
},
102-
"keywords": ["file header", "fileheader", "template", "code template"],
103-
"repository": {
104-
"type": "git",
105-
"url": "https://github.com/sidmishraw/topper.git"
106-
},
107-
"bugs": {
108-
"url": "https://github.com/sidmishraw/topper/issues",
109-
"email": "sidmishraw@hotmail.com"
110-
}
111-
}
119+
}

0 commit comments

Comments
 (0)