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 91bd9f0 commit ca109deCopy full SHA for ca109de
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