Skip to content

Commit 8940f6f

Browse files
edgardmessiasJohnstonCode
authored andcommitted
fix: Fixed inline commands for remote changes group (#568)
* fix: Fixed inline commands for remote changes group * feat: Added update remote changes in the group
1 parent 6a8a85b commit 8940f6f

File tree

1 file changed

+33
-9
lines changed

1 file changed

+33
-9
lines changed

package.json

+33-9
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,11 @@
313313
{
314314
"command": "svn.update",
315315
"title": "Update",
316-
"category": "SVN"
316+
"category": "SVN",
317+
"icon": {
318+
"light": "icons/light/download.svg",
319+
"dark": "icons/dark/download.svg"
320+
}
317321
},
318322
{
319323
"command": "svn.patch",
@@ -396,6 +400,7 @@
396400
{
397401
"command": "svn.treeview.refreshProvider",
398402
"title": "Refresh",
403+
"category": "SVN",
399404
"icon": {
400405
"light": "icons/light/refresh.svg",
401406
"dark": "icons/dark/refresh.svg"
@@ -404,7 +409,11 @@
404409
{
405410
"command": "svn.treeview.pullIncomingChange",
406411
"title": "Update selected",
407-
"category": "SVN"
412+
"category": "SVN",
413+
"icon": {
414+
"light": "icons/light/download.svg",
415+
"dark": "icons/dark/download.svg"
416+
}
408417
},
409418
{
410419
"command": "svn.deleteUnversioned",
@@ -711,6 +720,16 @@
711720
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
712721
"group": "navigation"
713722
},
723+
{
724+
"command": "svn.update",
725+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
726+
"group": "inline"
727+
},
728+
{
729+
"command": "svn.update",
730+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
731+
"group": "navigation"
732+
},
714733
{
715734
"command": "svn.revertAll",
716735
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == changes",
@@ -755,7 +774,7 @@
755774
},
756775
{
757776
"command": "svn.patch",
758-
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
777+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
759778
"group": "navigation"
760779
},
761780
{
@@ -770,32 +789,32 @@
770789
},
771790
{
772791
"command": "svn.changelist",
773-
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
792+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
774793
"group": "inline"
775794
},
776795
{
777796
"command": "svn.changelist",
778-
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
797+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
779798
"group": "1_modification"
780799
},
781800
{
782801
"command": "svn.commit",
783-
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
802+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
784803
"group": "1_modification"
785804
},
786805
{
787806
"command": "svn.revert",
788-
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
807+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
789808
"group": "2_modification"
790809
},
791810
{
792811
"command": "svn.revert",
793-
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
812+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
794813
"group": "inline"
795814
},
796815
{
797816
"command": "svn.remove",
798-
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanged",
817+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external && scmResourceGroup != conflicts && scmResourceGroup != remotechanges",
799818
"group": "2_modification"
800819
},
801820
{
@@ -808,6 +827,11 @@
808827
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned",
809828
"group": "1_modification"
810829
},
830+
{
831+
"command": "svn.treeview.pullIncomingChange",
832+
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",
833+
"group": "inline"
834+
},
811835
{
812836
"command": "svn.treeview.pullIncomingChange",
813837
"when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == remotechanges",

0 commit comments

Comments
 (0)