mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Removing extra nested "examples" menu.
This commit is contained in:
@ -1073,6 +1073,11 @@ public class Base {
|
|||||||
menu.add(item);
|
menu.add(item);
|
||||||
ifound = true;
|
ifound = true;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
// don't create an extra menu level for a folder named "examples"
|
||||||
|
if (subfolder.getName().equals("examples")) {
|
||||||
|
boolean found = addSketches(menu, subfolder, openReplaces); //, false);
|
||||||
|
if (found) ifound = true;
|
||||||
} else {
|
} else {
|
||||||
// not a sketch folder, but maybe a subfolder containing sketches
|
// not a sketch folder, but maybe a subfolder containing sketches
|
||||||
JMenu submenu = new JMenu(list[i]);
|
JMenu submenu = new JMenu(list[i]);
|
||||||
@ -1085,6 +1090,7 @@ public class Base {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return ifound; // actually ignored, but..
|
return ifound; // actually ignored, but..
|
||||||
}
|
}
|
||||||
|
|
||||||
|
6
todo.txt
6
todo.txt
@ -3,13 +3,9 @@
|
|||||||
|
|
||||||
PROCESSING 5503 SYNC
|
PROCESSING 5503 SYNC
|
||||||
|
|
||||||
Move library examples from the library folders into the example folder.
|
|
||||||
|
|
||||||
Don't explicitly add the built-in or user library examples to the examples menu. Instead, the built-in library examples will be in the examples folder, and the user-library examples will appear in the sketchbook menu.
|
|
||||||
|
|
||||||
Add library keyword highlighting.
|
Add library keyword highlighting.
|
||||||
|
|
||||||
Test the dist.sh. (Revise the disk image and include the drivers.)
|
Test the FTDI drivers in the arduino.dmg.
|
||||||
|
|
||||||
Update reference.
|
Update reference.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user