You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: arduino-ide-extension/src/electron-main/theia/electron-main-application.ts
+2-5
Original file line number
Diff line number
Diff line change
@@ -183,10 +183,7 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
183
183
);
184
184
for(constworkspaceofworkspaces){
185
185
if(awaitthis.isValidSketchPath(workspace.file)){
186
-
if(
187
-
this.isTempSketch.is(workspace.file)&&
188
-
!this.isTempSketch.isExample(workspace.file)
189
-
){
186
+
if(this.isTempSketch.is(workspace.file)){
190
187
console.info(
191
188
`Skipped opening sketch. The sketch was detected as temporary. Workspace path: ${workspace.file}.`
192
189
);
@@ -430,7 +427,7 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
430
427
// Do not try to reopen the sketch if it was temp.
431
428
// Unfortunately, IDE2 has two different logic of restoring recent sketches: the Theia default `recentworkspace.json` and there is the `recent-sketches.json`.
* For example, on Windows, instead of getting an [8.3 filename](https://en.wikipedia.org/wiki/8.3_filename), callers will get a fully resolved path.
422
438
* `C:\\Users\\KITTAA~1\\AppData\\Local\\Temp\\.arduinoIDE-unsaved2022615-21100-iahybb.yyvh\\sketch_jul15a` will be `C:\\Users\\kittaakos\\AppData\\Local\\Temp\\.arduinoIDE-unsaved2022615-21100-iahybb.yyvh\\sketch_jul15a`
0 commit comments