|
36 | 36 | "onLanguage:python", |
37 | 37 | "onCommand:python.sortImports", |
38 | 38 | "onCommand:python.runtests", |
39 | | - "onCommand:python.setInterpreter" |
| 39 | + "onCommand:python.setInterpreter", |
| 40 | + "onCommand:python.viewTests", |
| 41 | + "onCommand:python.discoverTests", |
| 42 | + "onCommand:python.runFailedTests" |
40 | 43 | ], |
41 | 44 | "main": "./out/client/extension", |
42 | 45 | "contributes": { |
|
71 | 74 | "command": "python.refactorExtractMethod", |
72 | 75 | "title": "Extract Method", |
73 | 76 | "category": "Refactor" |
| 77 | + }, |
| 78 | + { |
| 79 | + "command": "python.viewTests", |
| 80 | + "title": "View Test UI", |
| 81 | + "category": "Python" |
| 82 | + }, |
| 83 | + { |
| 84 | + "command": "python.discoverTests", |
| 85 | + "title": "Discover Unit Tests", |
| 86 | + "category": "Python" |
| 87 | + }, |
| 88 | + { |
| 89 | + "command": "python.runFailedTests", |
| 90 | + "title": "Run Failed Unit Tests", |
| 91 | + "category": "Python" |
74 | 92 | } |
75 | 93 | ], |
76 | 94 | "menus": { |
|
87 | 105 | "group": "Refactor", |
88 | 106 | "when": "editorHasSelection" |
89 | 107 | } |
| 108 | + ], |
| 109 | + "explorer/context": [ |
| 110 | + { |
| 111 | + "command": "python.runtests", |
| 112 | + "group": "Python" |
| 113 | + } |
90 | 114 | ] |
91 | 115 | }, |
92 | 116 | "debuggers": [ |
|
612 | 636 | "vscode-debugprotocol": "^1.0.1", |
613 | 637 | "vscode-extension-telemetry": "0.0.5", |
614 | 638 | "vscode-languageclient": "^1.1.0", |
615 | | - "vscode-languageserver": "^1.1.0" |
| 639 | + "vscode-languageserver": "^1.1.0", |
| 640 | + "xml2js": "^0.4.17" |
616 | 641 | }, |
617 | 642 | "devDependencies": { |
618 | 643 | "retyped-diff-match-patch-tsd-ambient": "^1.0.0-0", |
|
0 commit comments