|
17 | 17 | "bugs": {
|
18 | 18 | "url": "https://github.com/JohnstonCode/svn-scm/issues"
|
19 | 19 | },
|
20 |
| - "categories": ["Other", "SCM Providers"], |
21 |
| - "keywords": ["multi-root ready", "scm", "svn"], |
22 |
| - "activationEvents": ["*"], |
| 20 | + "categories": [ |
| 21 | + "Other", |
| 22 | + "SCM Providers" |
| 23 | + ], |
| 24 | + "keywords": [ |
| 25 | + "multi-root ready", |
| 26 | + "scm", |
| 27 | + "svn" |
| 28 | + ], |
| 29 | + "activationEvents": [ |
| 30 | + "*" |
| 31 | + ], |
23 | 32 | "main": "./out/extension",
|
24 | 33 | "scripts": {
|
25 | 34 | "vscode:prepublish": "tsc -p ./",
|
|
228 | 237 | },
|
229 | 238 | {
|
230 | 239 | "command": "svn.revertSelectedRanges",
|
231 |
| - "when": |
232 |
| - "config.svn.enabled && svnOpenRepositoryCount != 0 && svnHasSupportToRegisterDiffCommand == 1" |
| 240 | + "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && svnHasSupportToRegisterDiffCommand == 1" |
233 | 241 | }
|
234 | 242 | ],
|
235 | 243 | "scm/title": [
|
|
268 | 276 | "scm/resourceState/context": [
|
269 | 277 | {
|
270 | 278 | "command": "svn.add",
|
271 |
| - "when": |
272 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
| 279 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
273 | 280 | "group": "inline"
|
274 | 281 | },
|
275 | 282 | {
|
276 | 283 | "command": "svn.add",
|
277 |
| - "when": |
278 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
| 284 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup == unversioned", |
279 | 285 | "group": "1_modification"
|
280 | 286 | },
|
281 | 287 | {
|
282 | 288 | "command": "svn.openFile",
|
283 |
| - "when": |
284 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != external", |
| 289 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != external", |
285 | 290 | "group": "navigation"
|
286 | 291 | },
|
287 | 292 | {
|
288 | 293 | "command": "svn.openHEADFile",
|
289 |
| - "when": |
290 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 294 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
291 | 295 | "group": "navigation"
|
292 | 296 | },
|
293 | 297 | {
|
294 | 298 | "command": "svn.openChangeBase",
|
295 |
| - "when": |
296 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 299 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
297 | 300 | "group": "navigation"
|
298 | 301 | },
|
299 | 302 | {
|
300 | 303 | "command": "svn.openChangeHead",
|
301 |
| - "when": |
302 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 304 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
303 | 305 | "group": "navigation"
|
304 | 306 | },
|
305 | 307 | {
|
306 | 308 | "command": "svn.addChangelist",
|
307 |
| - "when": |
308 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 309 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
309 | 310 | "group": "inline"
|
310 | 311 | },
|
311 | 312 | {
|
312 | 313 | "command": "svn.addChangelist",
|
313 |
| - "when": |
314 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 314 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
315 | 315 | "group": "1_modification"
|
316 | 316 | },
|
317 | 317 | {
|
318 | 318 | "command": "svn.removeChangelist",
|
319 |
| - "when": |
320 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != changes && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 319 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != changes && scmResourceGroup != unversioned && scmResourceGroup != external", |
321 | 320 | "group": "inline"
|
322 | 321 | },
|
323 | 322 | {
|
324 | 323 | "command": "svn.removeChangelist",
|
325 |
| - "when": |
326 |
| - "config.svn.enabled && scmProvider == svn && scmResourceGroup != changes && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 324 | + "when": "config.svn.enabled && scmProvider == svn && scmResourceGroup != changes && scmResourceGroup != unversioned && scmResourceGroup != external", |
327 | 325 | "group": "1_modification"
|
328 | 326 | },
|
329 | 327 | {
|
330 | 328 | "command": "svn.commit",
|
331 |
| - "when": |
332 |
| - "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 329 | + "when": "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
333 | 330 | "group": "1_modification"
|
334 | 331 | },
|
335 | 332 | {
|
336 | 333 | "command": "svn.revert",
|
337 |
| - "when": |
338 |
| - "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 334 | + "when": "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
339 | 335 | "group": "1_modification"
|
340 | 336 | },
|
341 | 337 | {
|
342 | 338 | "command": "svn.remove",
|
343 |
| - "when": |
344 |
| - "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
| 339 | + "when": "scmProvider == svn && scmResourceGroup != unversioned && scmResourceGroup != external", |
345 | 340 | "group": "2_modification"
|
346 | 341 | }
|
347 | 342 | ],
|
|
355 | 350 | {
|
356 | 351 | "command": "svn.openFile",
|
357 | 352 | "group": "navigation",
|
358 |
| - "when": |
359 |
| - "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != extension && resourceScheme != merge-conflict.conflict-diff" |
| 353 | + "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != extension && resourceScheme != merge-conflict.conflict-diff" |
360 | 354 | },
|
361 | 355 | {
|
362 | 356 | "command": "svn.openChangeBase",
|
363 | 357 | "group": "navigation",
|
364 |
| - "when": |
365 |
| - "config.svn.enabled && svnOpenRepositoryCount != 0 && !isInDiffEditor && resourceScheme == file" |
| 358 | + "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && !isInDiffEditor && resourceScheme == file" |
366 | 359 | },
|
367 | 360 | {
|
368 | 361 | "command": "svn.openChangeHead",
|
369 | 362 | "group": "navigation",
|
370 |
| - "when": |
371 |
| - "config.svn.enabled && svnOpenRepositoryCount != 0 && !isInDiffEditor && resourceScheme == file" |
| 363 | + "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && !isInDiffEditor && resourceScheme == file" |
372 | 364 | },
|
373 | 365 | {
|
374 | 366 | "command": "svn.revertSelectedRanges",
|
375 | 367 | "group": "2_svn@3",
|
376 |
| - "when": |
377 |
| - "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != merge-conflict.conflict-diff && && svnHasSupportToRegisterDiffCommand == 1" |
| 368 | + "when": "config.svn.enabled && svnOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme != merge-conflict.conflict-diff && && svnHasSupportToRegisterDiffCommand == 1" |
378 | 369 | }
|
379 | 370 | ]
|
380 | 371 | },
|
|
393 | 384 | },
|
394 | 385 | "svn.decorations.enabled": {
|
395 | 386 | "type": "boolean",
|
396 |
| - "description": |
397 |
| - "Controls if SVN contributes colors and badges to the explorer and the open (VSCode >= 1.18 with proposed-api)", |
| 387 | + "description": "Controls if SVN contributes colors and badges to the explorer and the open (VSCode >= 1.18 with proposed-api)", |
398 | 388 | "default": true
|
399 | 389 | },
|
400 | 390 | "svn.path": {
|
401 |
| - "type": ["string", "null"], |
| 391 | + "type": [ |
| 392 | + "string", |
| 393 | + "null" |
| 394 | + ], |
402 | 395 | "description": "Path to the svn executable",
|
403 | 396 | "default": null,
|
404 | 397 | "isExecutable": true
|
405 | 398 | },
|
406 | 399 | "svn.diff.withHead": {
|
407 | 400 | "type": "boolean",
|
408 |
| - "description": |
409 |
| - "Show diff changes using latest revision in the repository. Set false to use latest revision in local folder", |
| 401 | + "description": "Show diff changes using latest revision in the repository. Set false to use latest revision in local folder", |
410 | 402 | "default": true
|
411 | 403 | },
|
412 | 404 | "svn.layout.trunk": {
|
413 |
| - "type": ["string", "null"], |
414 |
| - "description": |
415 |
| - "Relative path for 'trunk' in SVN URL, 'null' to disable. (Ex.: 'trunk', 'main')", |
| 405 | + "type": [ |
| 406 | + "string", |
| 407 | + "null" |
| 408 | + ], |
| 409 | + "description": "Relative path for 'trunk' in SVN URL, 'null' to disable. (Ex.: 'trunk', 'main')", |
416 | 410 | "default": "trunk"
|
417 | 411 | },
|
418 | 412 | "svn.layout.branches": {
|
419 |
| - "type": ["string", "null"], |
420 |
| - "description": |
421 |
| - "Relative path for 'branches' in SVN URL, 'null' to disable. (Ex.: 'branches', 'versions')", |
| 413 | + "type": [ |
| 414 | + "string", |
| 415 | + "null" |
| 416 | + ], |
| 417 | + "description": "Relative path for 'branches' in SVN URL, 'null' to disable. (Ex.: 'branches', 'versions')", |
422 | 418 | "default": "branches"
|
423 | 419 | },
|
424 | 420 | "svn.layout.tags": {
|
425 |
| - "type": ["string", "null"], |
426 |
| - "description": |
427 |
| - "Relative path for 'tags' in SVN URL, 'null' to disable. (Ex.: 'tags', 'stamps')", |
| 421 | + "type": [ |
| 422 | + "string", |
| 423 | + "null" |
| 424 | + ], |
| 425 | + "description": "Relative path for 'tags' in SVN URL, 'null' to disable. (Ex.: 'tags', 'stamps')", |
428 | 426 | "default": "tags"
|
429 | 427 | },
|
430 | 428 | "svn.branch.update": {
|
431 | 429 | "type": "number",
|
432 | 430 | "minimum": 0,
|
433 |
| - "description": |
434 |
| - "How frequently (in minutes) to check branch changes. Set to `0` to avoid periodic checks.", |
| 431 | + "description": "How frequently (in minutes) to check branch changes. Set to `0` to avoid periodic checks.", |
435 | 432 | "default": 5
|
436 | 433 | },
|
437 | 434 | "svn.multipleFolders.enabled": {
|
|
448 | 445 | "svn.multipleFolders.ignore": {
|
449 | 446 | "type": "array",
|
450 | 447 | "description": "Folders to ignore using SVN",
|
451 |
| - "default": ["**/.git", "**/.hg", "**/vendor", "**/node_modules"] |
| 448 | + "default": [ |
| 449 | + "**/.git", |
| 450 | + "**/.hg", |
| 451 | + "**/vendor", |
| 452 | + "**/node_modules" |
| 453 | + ] |
452 | 454 | },
|
453 | 455 | "svn.sourceControl.ignoreOnCommit": {
|
454 | 456 | "type": "array",
|
455 | 457 | "description": "Changelists to ignore on commit",
|
456 |
| - "default": ["ignore-on-commit"] |
| 458 | + "default": [ |
| 459 | + "ignore-on-commit" |
| 460 | + ] |
457 | 461 | },
|
458 | 462 | "svn.sourceControl.showExternal": {
|
459 | 463 | "type": "boolean",
|
460 |
| - "description": |
461 |
| - "Allow to show in source control the list the external folders", |
| 464 | + "description": "Allow to show in source control the list the external folders", |
462 | 465 | "default": false
|
463 | 466 | },
|
464 | 467 | "svn.sourceControl.countExternal": {
|
|
0 commit comments