MCPcopy Index your code
hub / github.com/arduino/Arduino / openFolder

Method openFolder

app/src/processing/app/Base.java:2096–2103  ·  view source on GitHub ↗

Implements the other cross-platform headache of opening a folder in the machine's native file browser.

(File file)

Source from the content-addressed store, hash-verified

2094 * a folder in the machine's native file browser.
2095 */
2096 static public void openFolder(File file) {
2097 try {
2098 BaseNoGui.getPlatform().openFolder(file);
2099 } catch (Exception e) {
2100 showWarning(tr("Problem Opening Folder"),
2101 format(tr("Could not open the folder\n{0}"), file.getAbsolutePath()), e);
2102 }
2103 }
2104
2105
2106 // .................................................................

Callers 2

buildSketchMenuMethod · 0.95

Calls 4

getPlatformMethod · 0.95
showWarningMethod · 0.95
trMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected