Skip to content

Commit 9a76654

Browse files
committed
Fixed context menu (#95);
1 parent 5e58460 commit 9a76654

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

package.json

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,36 +152,54 @@
152152
"config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned",
153153
"group": "inline"
154154
},
155+
{
156+
"command": "svn.add",
157+
"when":
158+
"config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned",
159+
"group": "1_modification"
160+
},
155161
{
156162
"command": "svn.addChangelist",
157163
"when":
158164
"config.svn.enabled && scmProvider == svn && scmResourceGroup != external",
159165
"group": "inline"
160166
},
167+
{
168+
"command": "svn.addChangelist",
169+
"when":
170+
"config.svn.enabled && scmProvider == svn && scmResourceGroup != external",
171+
"group": "1_modification"
172+
},
161173
{
162174
"command": "svn.removeChangelist",
163175
"when":
164176
"config.svn.enabled && scmProvider == svn && scmResourceGroup != changes && scmResourceGroup != unversioned && scmResourceGroup != external",
165177
"group": "inline"
166178
},
179+
{
180+
"command": "svn.removeChangelist",
181+
"when":
182+
"config.svn.enabled && scmProvider == svn && scmResourceGroup != changes && scmResourceGroup != unversioned && scmResourceGroup != external",
183+
"group": "1_modification"
184+
},
167185
{
168186
"command": "svn.commit",
169-
"when": "scmProvider == svn && scmResourceGroup == changes",
187+
"when": "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external",
170188
"group": "1_modification"
171189
},
172190
{
173191
"command": "svn.openDiffHead",
174-
"when": "scmProvider == svn && scmResourceGroup == changes",
192+
"when": "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external",
175193
"group": "navigation"
176194
},
177195
{
178196
"command": "svn.revert",
179-
"when": "scmProvider == svn && scmResourceGroup == changes",
197+
"when": "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external",
180198
"group": "1_modification"
181199
},
182200
{
183201
"command": "svn.remove",
184-
"when": "scmProvider == svn && scmResourceGroup == changes",
202+
"when": "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external",
185203
"group": "2_modification"
186204
}
187205
],

0 commit comments

Comments
 (0)