Skip to content

Commit 8fb151c

Browse files
committed
Add TODOs for save-as override and sketch management; refine command context
1 parent 7d0a0b8 commit 8fb151c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

client/src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export async function activate(context: ExtensionContext) {
2929
// TODO: Add checks for if a required Processing version is met (e.g, this specific feature works with 4.4.6+)
3030
// TODO: Sketch management (open folder as sketch, create new sketch, etc)
3131
// TODO: Exporting to standalone application
32+
// TODO: Override the default save-as
33+
// TODO: limit running sketches when a sketch is open
3234

3335
// Set up the selected Processing version, awaiting because we don't want to continue until we have a version
3436
await setupSelectedVersion(context);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
{
6565
"command": "processing.sketch.run",
6666
"key": "ctrl+r",
67-
"when": "editorTextFocus",
67+
"when": "editorTextFocus && (editorLangId == Processing || editorLangId == java)",
6868
"mac": "cmd+r"
6969
}
7070
],

0 commit comments

Comments
 (0)