Skip to content

Commit ed555f9

Browse files
author
Akos Kitta
committed
feat: can edit the launch config from IDE2
1 parent bd09346 commit ed555f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: arduino-ide-extension/src/browser/sketches-service-client-impl.ts

+8
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,14 @@ export class SketchesServiceClientImpl
273273
return false;
274274
}
275275

276+
if (
277+
toCheck.scheme === 'file' &&
278+
toCheck.path.fsPath().endsWith('launch.json')
279+
// TODO: make sure it's from the build folder of the current sketch
280+
) {
281+
return false;
282+
}
283+
276284
const isCloudSketch = toCheck
277285
.toString()
278286
.includes(`${REMOTE_SKETCHBOOK_FOLDER}/${ARDUINO_CLOUD_FOLDER}`);

0 commit comments

Comments
 (0)