Skip to content

Commit 860afc7

Browse files
committed
trying to get it to be listed as scm provider
1 parent e8e2cdf commit 860afc7

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

extension.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,14 @@ function activate(context) {
9898
const watcher = vscode.workspace.createFileSystemWatcher(`${rootPath}/**/*`);
9999

100100
const sourceControl = vscode.scm.createSourceControl('svn', 'svn');
101-
sourceControl.quickDiffProvider = sourceControl;
102101

103102
const modified = sourceControl.createResourceGroup('modified', 'Modified');
104103
const removed = sourceControl.createResourceGroup('removed', 'Removed');
105104
const notTracked = sourceControl.createResourceGroup('unversioned', 'Not Tracked');
105+
106+
modified.hideWhenEmpty = true;
107+
removed.hideWhenEmpty = true;
108+
notTracked.hideWhenEmpty = true;
106109

107110
const main = () => {
108111
return checkAllFiles(client, statusBar)

icons/modified.svg

+6
Loading

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"name": "svn-scm",
33
"displayName": "svn-scm",
44
"description": "",
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"publisher": "johnstoncode",
77
"engines": {
88
"vscode": "^1.16.0"
99
},
1010
"categories": [
11-
"Other"
11+
"Other",
12+
"SCM Providers"
1213
],
1314
"activationEvents": [
1415
"*"

0 commit comments

Comments
 (0)