Skip to content

Commit 0cd3875

Browse files
committed
Settings
1 parent f02bacd commit 0cd3875

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

client/src/setupSelectedVersion.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { compareVersions } from './compareVersions';
55
import { ProcessingVersion, state } from './extension';
66

77
export async function setupSelectedVersion(context: ExtensionContext) {
8+
// TODO: Rerun this function when the user changes the version in the settings
9+
810
const config = workspace.getConfiguration('processing');
911

1012
let binaryPath = context.asAbsolutePath(join(`install-locator-${process.platform}`, 'bin', 'install-locator'));

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
"type": "string",
7474
"default": "latest",
7575
"description": "The version of the Processing to use. The latest version is used by default."
76+
},
77+
"processing.autosave": {
78+
"scope": "window",
79+
"type": "boolean",
80+
"default": false,
81+
"description": "Automatically save the sketch before running it."
7682
}
7783
}
7884
},

0 commit comments

Comments
 (0)