-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Open
Labels
Component: IDEThe Arduino IDEThe Arduino IDEfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)
Description
The two reasons (Your copy of the IDE is installed in a subfolder of your settings folder.\nPlease move the IDE to another folder.
& Your copy of the IDE is installed in a subfolder of your sketchbook.\nPlease move the IDE to another folder.
) do not actually state what specifically needs to be fixed.
Maybe this is okay for seasoned Arduino developers, but why not actually tell the newbie developer what the conflicting settings are?
One solution could be to change BaseNoGui.java
code like
if (isIDEInstalledIntoSketchbookFolder()) {
showError(tr("Incorrect IDE installation folder"), tr("Your copy of the IDE is installed in a subfolder of your sketchbook.\nPlease move the IDE to another folder."), 10);
}
into maybe something like
if (isIDEInstalledIntoSketchbookFolder()) {
if (PreferencesData.has("sketchbook.path")){
showWarning(I18n.format("sketchbook.path=<{0}>", PreferencesData.get("sketchbook.path")), I18n.format("runtime.ide.path=<{0}>", PreferencesData.get("runtime.ide.path")), null);
}
showError(tr("Incorrect IDE installation folder"), tr("Your copy of the IDE is installed in a subfolder of your sketchbook.\nPlease move the IDE to another folder."), 10);
}
Metadata
Metadata
Assignees
Labels
Component: IDEThe Arduino IDEThe Arduino IDEfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)