Closed AriPerkkio closed 2 months ago
Adds support for users to specify one or multiple glob patterns in editor.fileTree.allowEdits.
editor.fileTree.allowEdits
--- type: lesson title: Example editor: fileTree: allowEdits: # Items in root - "/*" # Only "allowed-filename-only.js" inside "/first-level" folder - "/first-level/allowed-filename-only.js" # Anything inside "second-level" folders anywhere - "**/second-level/**" ---
When students attempt to create file that doesn't match these patterns, we show an error dialog:
Run & review this pull request in StackBlitz Codeflow.
Adds support for users to specify one or multiple glob patterns in
editor.fileTree.allowEdits
.When students attempt to create file that doesn't match these patterns, we show an error dialog: