|
2 | 2 | "name": "turbo-file-header",
|
3 | 3 | "displayName": "Turbo File Header",
|
4 | 4 | "description": "Sets file header information globally or for a project.",
|
5 |
| - "version": "0.2.0", |
| 5 | + "version": "0.2.1", |
6 | 6 | "icon": "resources/icons/icon.png",
|
7 | 7 | "repository": {
|
8 | 8 | "type": "git",
|
|
309 | 309 | "description": "%turboFileHeader.useJSDocStyle.description%",
|
310 | 310 | "default": false
|
311 | 311 | },
|
| 312 | + "turboFileHeader.functionComment": { |
| 313 | + "type": "object", |
| 314 | + "description": "%turboFileHeader.functionComment.description%", |
| 315 | + "properties": { |
| 316 | + "languagesSettings": { |
| 317 | + "type": "array", |
| 318 | + "description": "%turboFileHeader.functionComment.languagesSettings.description%", |
| 319 | + "items": { |
| 320 | + "type": "object", |
| 321 | + "properties": { |
| 322 | + "languageId": { |
| 323 | + "type": "string" |
| 324 | + }, |
| 325 | + "defaultReturnName": { |
| 326 | + "type": "string", |
| 327 | + "default": "default", |
| 328 | + "description": "%turboFileHeader.functionComment.languagesSettings.javascript.defaultReturnName.description%" |
| 329 | + }, |
| 330 | + "defaultReturnType": { |
| 331 | + "type": "string", |
| 332 | + "default": "auto", |
| 333 | + "description": "%turboFileHeader.functionComment.languagesSettings.javascript.defaultReturnType.description%" |
| 334 | + }, |
| 335 | + "defaultParamType": { |
| 336 | + "type": "string", |
| 337 | + "default": "any", |
| 338 | + "description": "%turboFileHeader.functionComment.languagesSettings.javascript.defaultParamType.description%" |
| 339 | + } |
| 340 | + } |
| 341 | + } |
| 342 | + } |
| 343 | + }, |
| 344 | + "default": { |
| 345 | + "languagesSettings": [ |
| 346 | + { |
| 347 | + "languageId": "typescript", |
| 348 | + "defaultReturnName": "default", |
| 349 | + "defaultReturnType": "auto", |
| 350 | + "defaultParamType": "any" |
| 351 | + } |
| 352 | + ] |
| 353 | + } |
| 354 | + }, |
312 | 355 | "turboFileHeader.multilineComments": {
|
313 | 356 | "type": "boolean",
|
314 | 357 | "description": "%turboFileHeader.multilineComments.description%",
|
|
534 | 577 | "clean": "rimraf out/",
|
535 | 578 | "test-compile": "npm run clean && tsc -p ./ && npm run compile",
|
536 | 579 | "test": "npm run test-compile && vscode-test",
|
| 580 | + "test-grep": "npm run test-compile && vscode-test -g", |
537 | 581 | "test:suite:mocha": "npm run test-compile && node out/test/runTests.js",
|
538 | 582 | "test:suite": "node out/test/runTests.js",
|
539 | 583 | "test:unit": "vitest unit --watch=false",
|
|
0 commit comments