File tree 1 file changed +4
-0
lines changed
arduino-core/src/processing/app
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ public boolean reload() throws IOException {
106
106
private List <SketchFile > listSketchFiles (boolean showWarnings ) throws IOException {
107
107
Set <SketchFile > result = new TreeSet <>(CODE_DOCS_COMPARATOR );
108
108
for (File file : FileUtils .listFiles (folder , false , EXTENSIONS )) {
109
+ System .out .println ("File found: " + file .getName ()); //added for debug
109
110
if (BaseNoGui .isSanitaryName (FileUtils .splitFilename (file ).basename )) {
110
111
result .add (new SketchFile (this , file ));
111
112
} else if (showWarnings ) {
@@ -355,9 +356,12 @@ public void saveAs(File newFolder) throws IOException {
355
356
356
357
// Copy the data folder (this may take a while.. add progress bar?)
357
358
if (getDataFolder ().exists ()) {
359
+ System .out .println ("Data folder is found and exists." );
358
360
File newDataFolder = new File (newFolder , "data" );
359
361
FileUtils .copy (getDataFolder (), newDataFolder );
360
362
}
363
+
364
+
361
365
}
362
366
363
367
/**
You can’t perform that action at this time.
0 commit comments