|
17 | 17 | "bugs": {
|
18 | 18 | "url": "https://github.com/JohnstonCode/svn-scm/issues"
|
19 | 19 | },
|
20 |
| - "categories": [ |
21 |
| - "Other", |
22 |
| - "SCM Providers" |
23 |
| - ], |
24 |
| - "keywords": [ |
25 |
| - "multi-root ready", |
26 |
| - "scm", |
27 |
| - "svn" |
28 |
| - ], |
29 |
| - "activationEvents": [ |
30 |
| - "*" |
31 |
| - ], |
| 20 | + "categories": ["Other", "SCM Providers"], |
| 21 | + "keywords": ["multi-root ready", "scm", "svn"], |
| 22 | + "activationEvents": ["*"], |
32 | 23 | "main": "./out/extension",
|
33 | 24 | "scripts": {
|
34 | 25 | "vscode:prepublish": "npm run lint && tsc -p ./",
|
|
66 | 57 | "typescript": "^3.0",
|
67 | 58 | "vscode": "^1.1.18",
|
68 | 59 | "semantic-release": "^15.9.8",
|
69 |
| - "semantic-release-vsce": "^2.1.2", |
| 60 | + "semantic-release-vsce": "^2.1.2" |
70 | 61 | },
|
71 | 62 | "release": {
|
72 |
| - "verifyConditions": [ |
73 |
| - "semantic-release-vsce", |
74 |
| - "@semantic-release/github" |
75 |
| - ], |
| 63 | + "verifyConditions": ["semantic-release-vsce", "@semantic-release/github"], |
76 | 64 | "publish": [
|
77 | 65 | {
|
78 | 66 | "path": "semantic-release-vsce",
|
|
277 | 265 | },
|
278 | 266 | {
|
279 | 267 | "command": "svn.openChangeBase",
|
280 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges" |
| 268 | + "when": |
| 269 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges" |
281 | 270 | },
|
282 | 271 | {
|
283 | 272 | "command": "svn.openChangeHead",
|
284 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges" |
| 273 | + "when": |
| 274 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges" |
285 | 275 | },
|
286 | 276 | {
|
287 | 277 | "command": "svn.openFile",
|
|
337 | 327 | },
|
338 | 328 | {
|
339 | 329 | "command": "svn.revertSelectedRanges",
|
340 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && svnHasSupportToRegisterDiffCommand == 1" |
| 330 | + "when": |
| 331 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && svnHasSupportToRegisterDiffCommand == 1" |
341 | 332 | },
|
342 | 333 | {
|
343 | 334 | "command": "svn.close",
|
|
407 | 398 | "scm/resourceState/context": [
|
408 | 399 | {
|
409 | 400 | "command": "svn.add",
|
410 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
| 401 | + "when": |
| 402 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
411 | 403 | "group": "inline"
|
412 | 404 | },
|
413 | 405 | {
|
414 | 406 | "command": "svn.add",
|
415 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
| 407 | + "when": |
| 408 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
416 | 409 | "group": "1_modification"
|
417 | 410 | },
|
418 | 411 | {
|
419 | 412 | "command": "svn.openFile",
|
420 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != external", |
| 413 | + "when": |
| 414 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != external", |
421 | 415 | "group": "navigation"
|
422 | 416 | },
|
423 | 417 | {
|
424 | 418 | "command": "svn.openHEADFile",
|
425 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 419 | + "when": |
| 420 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
426 | 421 | "group": "navigation"
|
427 | 422 | },
|
428 | 423 | {
|
429 | 424 | "command": "svn.openChangeBase",
|
430 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 425 | + "when": |
| 426 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
431 | 427 | "group": "navigation"
|
432 | 428 | },
|
433 | 429 | {
|
434 | 430 | "command": "svn.openChangeHead",
|
435 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 431 | + "when": |
| 432 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
436 | 433 | "group": "navigation"
|
437 | 434 | },
|
438 | 435 | {
|
439 | 436 | "command": "svn.patch",
|
440 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
| 437 | + "when": |
| 438 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
441 | 439 | "group": "navigation"
|
442 | 440 | },
|
443 | 441 | {
|
444 | 442 | "command": "svn.resolve",
|
445 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == conflicts", |
| 443 | + "when": |
| 444 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup == conflicts", |
446 | 445 | "group": "inline"
|
447 | 446 | },
|
448 | 447 | {
|
449 | 448 | "command": "svn.resolve",
|
450 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == conflicts", |
| 449 | + "when": |
| 450 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup == conflicts", |
451 | 451 | "group": "1_modification"
|
452 | 452 | },
|
453 | 453 | {
|
454 | 454 | "command": "svn.changelist",
|
455 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
| 455 | + "when": |
| 456 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
456 | 457 | "group": "inline"
|
457 | 458 | },
|
458 | 459 | {
|
459 | 460 | "command": "svn.changelist",
|
460 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
| 461 | + "when": |
| 462 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
461 | 463 | "group": "1_modification"
|
462 | 464 | },
|
463 | 465 | {
|
464 | 466 | "command": "svn.commit",
|
465 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
| 467 | + "when": |
| 468 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
466 | 469 | "group": "1_modification"
|
467 | 470 | },
|
468 | 471 | {
|
469 | 472 | "command": "svn.revert",
|
470 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
| 473 | + "when": |
| 474 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
471 | 475 | "group": "2_modification"
|
472 | 476 | },
|
473 | 477 | {
|
474 | 478 | "command": "svn.remove",
|
475 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
| 479 | + "when": |
| 480 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged", |
476 | 481 | "group": "2_modification"
|
477 | 482 | },
|
478 | 483 | {
|
479 | 484 | "command": "svn.addToIgnoreSCM",
|
480 |
| - "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
| 485 | + "when": |
| 486 | + "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
481 | 487 | "group": "1_modification"
|
482 | 488 | }
|
483 | 489 | ],
|
|
491 | 497 | {
|
492 | 498 | "command": "svn.openFile",
|
493 | 499 | "group": "navigation",
|
494 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != extension && resourceScheme != merge-conflicts.conflicts-diff" |
| 500 | + "when": |
| 501 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != extension && resourceScheme != merge-conflicts.conflicts-diff" |
495 | 502 | },
|
496 | 503 | {
|
497 | 504 | "command": "svn.openChangeBase",
|
498 | 505 | "group": "navigation",
|
499 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges && !isInDiffEditor && resourceScheme == file" |
| 506 | + "when": |
| 507 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges && !isInDiffEditor && resourceScheme == file" |
500 | 508 | },
|
501 | 509 | {
|
502 | 510 | "command": "svn.openChangeHead",
|
503 | 511 | "group": "navigation",
|
504 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges && !isInDiffEditor && resourceScheme == file" |
| 512 | + "when": |
| 513 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && svnActiveEditorHasChanges && !isInDiffEditor && resourceScheme == file" |
505 | 514 | },
|
506 | 515 | {
|
507 | 516 | "command": "svn.revertSelectedRanges",
|
508 | 517 | "group": "2_svn@3",
|
509 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != merge-conflicts.conflicts-diff && && svnHasSupportToRegisterDiffCommand == 1" |
| 518 | + "when": |
| 519 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != merge-conflicts.conflicts-diff && && svnHasSupportToRegisterDiffCommand == 1" |
510 | 520 | }
|
511 | 521 | ],
|
512 | 522 | "explorer/context": [
|
|
518 | 528 | {
|
519 | 529 | "command": "svn.renameExplorer",
|
520 | 530 | "group": "7_modification",
|
521 |
| - "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" |
| 531 | + "when": |
| 532 | + "config.svn.enabled && svnOpenRepositoryCount != 0 && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" |
522 | 533 | }
|
523 | 534 | ]
|
524 | 535 | },
|
|
537 | 548 | },
|
538 | 549 | "svn.decorations.enabled": {
|
539 | 550 | "type": "boolean",
|
540 |
| - "description": "Controls if SVN contributes colors and badges to the explorer and the open (VSCode >= 1.18 with proposed-api)", |
| 551 | + "description": |
| 552 | + "Controls if SVN contributes colors and badges to the explorer and the open (VSCode >= 1.18 with proposed-api)", |
541 | 553 | "default": true
|
542 | 554 | },
|
543 | 555 | "svn.path": {
|
544 |
| - "type": [ |
545 |
| - "string", |
546 |
| - "null" |
547 |
| - ], |
| 556 | + "type": ["string", "null"], |
548 | 557 | "description": "Path to the svn executable",
|
549 | 558 | "default": null,
|
550 | 559 | "isExecutable": true
|
|
561 | 570 | },
|
562 | 571 | "svn.diff.withHead": {
|
563 | 572 | "type": "boolean",
|
564 |
| - "description": "Show diff changes using latest revision in the repository. Set false to use latest revision in local folder", |
| 573 | + "description": |
| 574 | + "Show diff changes using latest revision in the repository. Set false to use latest revision in local folder", |
565 | 575 | "default": true
|
566 | 576 | },
|
567 | 577 | "svn.layout.trunkRegex": {
|
568 |
| - "type": [ |
569 |
| - "string", |
570 |
| - "null" |
571 |
| - ], |
572 |
| - "description": "Regex to detect path for 'trunk' in SVN URL, 'null' to disable. (Ex.: '(trunk)', '(main)')", |
| 578 | + "type": ["string", "null"], |
| 579 | + "description": |
| 580 | + "Regex to detect path for 'trunk' in SVN URL, 'null' to disable. (Ex.: '(trunk)', '(main)')", |
573 | 581 | "default": "(trunk)(/.*)?"
|
574 | 582 | },
|
575 | 583 | "svn.layout.trunkRegexName": {
|
576 |
| - "type": [ |
577 |
| - "number" |
578 |
| - ], |
| 584 | + "type": ["number"], |
579 | 585 | "description": "Regex group position for name of trunk",
|
580 | 586 | "default": 1
|
581 | 587 | },
|
582 | 588 | "svn.layout.branchesRegex": {
|
583 |
| - "type": [ |
584 |
| - "string", |
585 |
| - "null" |
586 |
| - ], |
587 |
| - "description": "Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/[^/]+/([^/]+)(/.*)?' (Ex.: 'branches/...', 'versions/...')", |
| 589 | + "type": ["string", "null"], |
| 590 | + "description": |
| 591 | + "Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/[^/]+/([^/]+)(/.*)?' (Ex.: 'branches/...', 'versions/...')", |
588 | 592 | "default": "branches/([^/]+)(/.*)?"
|
589 | 593 | },
|
590 | 594 | "svn.layout.branchesRegexName": {
|
591 |
| - "type": [ |
592 |
| - "number" |
593 |
| - ], |
| 595 | + "type": ["number"], |
594 | 596 | "description": "Regex group position for name of branch",
|
595 | 597 | "default": 1
|
596 | 598 | },
|
597 | 599 | "svn.layout.tagsRegex": {
|
598 |
| - "type": [ |
599 |
| - "string", |
600 |
| - "null" |
601 |
| - ], |
602 |
| - "description": "Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/[^/]+/([^/]+)(/.*)?'. (Ex.: 'tags/...', 'stamps/...')", |
| 600 | + "type": ["string", "null"], |
| 601 | + "description": |
| 602 | + "Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/[^/]+/([^/]+)(/.*)?'. (Ex.: 'tags/...', 'stamps/...')", |
603 | 603 | "default": "tags/([^/]+)(/.*)?"
|
604 | 604 | },
|
605 | 605 | "svn.layout.tagRegexName": {
|
606 |
| - "type": [ |
607 |
| - "number" |
608 |
| - ], |
| 606 | + "type": ["number"], |
609 | 607 | "description": "Regex group position for name of tag",
|
610 | 608 | "default": 1
|
611 | 609 | },
|
612 | 610 | "svn.layout.showFullName": {
|
613 |
| - "type": [ |
614 |
| - "boolean" |
615 |
| - ], |
616 |
| - "description": "Set true to show 'branches/<name>' and false to show only '<name>'", |
| 611 | + "type": ["boolean"], |
| 612 | + "description": |
| 613 | + "Set true to show 'branches/<name>' and false to show only '<name>'", |
617 | 614 | "default": true
|
618 | 615 | },
|
619 | 616 | "svn.multipleFolders.enabled": {
|
|
630 | 627 | "svn.multipleFolders.ignore": {
|
631 | 628 | "type": "array",
|
632 | 629 | "description": "Folders to ignore using SVN",
|
633 |
| - "default": [ |
634 |
| - "**/.git", |
635 |
| - "**/.hg", |
636 |
| - "**/vendor", |
637 |
| - "**/node_modules" |
638 |
| - ] |
| 630 | + "default": ["**/.git", "**/.hg", "**/vendor", "**/node_modules"] |
639 | 631 | },
|
640 | 632 | "svn.sourceControl.ignoreOnCommit": {
|
641 | 633 | "type": "array",
|
642 | 634 | "description": "Changelists to ignore on commit",
|
643 |
| - "default": [ |
644 |
| - "ignore-on-commit" |
645 |
| - ] |
| 635 | + "default": ["ignore-on-commit"] |
646 | 636 | },
|
647 | 637 | "svn.detectExternals": {
|
648 | 638 | "type": "boolean",
|
649 | 639 | "default": true,
|
650 |
| - "description": "Controls whether to automatically detect svn externals." |
| 640 | + "description": |
| 641 | + "Controls whether to automatically detect svn externals." |
651 | 642 | },
|
652 | 643 | "svn.sourceControl.combineExternalIfSameServer": {
|
653 | 644 | "type": "boolean",
|
654 | 645 | "default": false,
|
655 |
| - "description": "Combine the svn external in the main if is from the same server." |
| 646 | + "description": |
| 647 | + "Combine the svn external in the main if is from the same server." |
656 | 648 | },
|
657 | 649 | "svn.sourceControl.countUnversioned": {
|
658 | 650 | "type": "boolean",
|
|
661 | 653 | },
|
662 | 654 | "svn.sourceControl.countIgnoreOnCommit": {
|
663 | 655 | "type": "boolean",
|
664 |
| - "description": "Allow to count ignored files to commit in status count", |
| 656 | + "description": |
| 657 | + "Allow to count ignored files to commit in status count", |
665 | 658 | "default": false
|
666 | 659 | },
|
667 | 660 | "svn.log.length": {
|
|
682 | 675 | },
|
683 | 676 | "svn.update.ignoreExternals": {
|
684 | 677 | "type": "boolean",
|
685 |
| - "description": "Set to ignore externals definitions on update (add --ignore-externals)", |
| 678 | + "description": |
| 679 | + "Set to ignore externals definitions on update (add --ignore-externals)", |
686 | 680 | "default": true
|
687 | 681 | },
|
688 | 682 | "svn.default.encoding": {
|
689 |
| - "type": [ |
690 |
| - "string", |
691 |
| - "null" |
692 |
| - ], |
693 |
| - "description": "Encoding of svn output if the output is not utf-8. When this parameter is null, the encoding is automatically detected. Example: 'windows-1252'.", |
| 683 | + "type": ["string", "null"], |
| 684 | + "description": |
| 685 | + "Encoding of svn output if the output is not utf-8. When this parameter is null, the encoding is automatically detected. Example: 'windows-1252'.", |
694 | 686 | "default": null
|
695 | 687 | },
|
696 | 688 | "svn.showUpdateMessage": {
|
|
700 | 692 | },
|
701 | 693 | "svn.remoteChanges.checkFrequency": {
|
702 | 694 | "type": "number",
|
703 |
| - "description": "Set the interval in seconds to check changed files on remote repository and show in statusbar. 0 to disable", |
| 695 | + "description": |
| 696 | + "Set the interval in seconds to check changed files on remote repository and show in statusbar. 0 to disable", |
704 | 697 | "default": 300
|
705 | 698 | }
|
706 | 699 | }
|
|
0 commit comments