File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
arduino-core/src/processing/app Expand file tree Collapse file tree 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 {
106106 private List <SketchFile > listSketchFiles (boolean showWarnings ) throws IOException {
107107 Set <SketchFile > result = new TreeSet <>(CODE_DOCS_COMPARATOR );
108108 for (File file : FileUtils .listFiles (folder , false , EXTENSIONS )) {
109+ System .out .println ("File found: " + file .getName ()); //added for debug
109110 if (BaseNoGui .isSanitaryName (FileUtils .splitFilename (file ).basename )) {
110111 result .add (new SketchFile (this , file ));
111112 } else if (showWarnings ) {
@@ -355,9 +356,12 @@ public void saveAs(File newFolder) throws IOException {
355356
356357 // Copy the data folder (this may take a while.. add progress bar?)
357358 if (getDataFolder ().exists ()) {
359+ System .out .println ("Data folder is found and exists." );
358360 File newDataFolder = new File (newFolder , "data" );
359361 FileUtils .copy (getDataFolder (), newDataFolder );
360362 }
363+
364+
361365 }
362366
363367 /**
You can’t perform that action at this time.
0 commit comments