We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
keymaps.json
1 parent f106c97 commit 9867122Copy full SHA for 9867122
arduino-ide-extension/src/common/protocol/sketches-service-client-impl.ts
@@ -135,6 +135,9 @@ export class SketchesServiceClientImpl implements FrontendApplicationContributio
135
*/
136
isReadOnly(uri: URI | monaco.Uri | string): boolean {
137
const toCheck = uri instanceof URI ? uri : new URI(uri);
138
+ if (toCheck.scheme === 'user-storage') {
139
+ return false;
140
+ }
141
const readOnly = !this.workspaceService.tryGetRoots().some(({ resource }) => resource.isEqualOrParent(toCheck));
142
return readOnly;
143
}
0 commit comments