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
@@ -179,10 +179,7 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
179
179
);
180
180
for(constworkspaceofworkspaces){
181
181
if(awaitthis.isValidSketchPath(workspace.file)){
182
-
if(
183
-
this.isTempSketch.is(workspace.file)&&
184
-
!this.isTempSketch.isExample(workspace.file)
185
-
){
182
+
if(this.isTempSketch.is(workspace.file)){
186
183
console.info(
187
184
`Skipped opening sketch. The sketch was detected as temporary. Workspace path: ${workspace.file}.`
188
185
);
@@ -420,7 +417,7 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
420
417
// Do not try to reopen the sketch if it was temp.
421
418
// 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