Skip to content

Commit

Permalink
trying to get it to be listed as scm provider
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnstonCode committed Sep 22, 2017
1 parent e8e2cdf commit 860afc7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,14 @@ function activate(context) {
const watcher = vscode.workspace.createFileSystemWatcher(`${rootPath}/**/*`);

const sourceControl = vscode.scm.createSourceControl('svn', 'svn');
sourceControl.quickDiffProvider = sourceControl;

const modified = sourceControl.createResourceGroup('modified', 'Modified');
const removed = sourceControl.createResourceGroup('removed', 'Removed');
const notTracked = sourceControl.createResourceGroup('unversioned', 'Not Tracked');

modified.hideWhenEmpty = true;
removed.hideWhenEmpty = true;
notTracked.hideWhenEmpty = true;

const main = () => {
return checkAllFiles(client, statusBar)
Expand Down
6 changes: 6 additions & 0 deletions icons/modified.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"name": "svn-scm",
"displayName": "svn-scm",
"description": "",
"version": "0.1.0",
"version": "0.1.1",
"publisher": "johnstoncode",
"engines": {
"vscode": "^1.16.0"
},
"categories": [
"Other"
"Other",
"SCM Providers"
],
"activationEvents": [
"*"
Expand Down

0 comments on commit 860afc7

Please sign in to comment.