Skip to content

Commit 6fc79c1

Browse files
astrographmickaelistria
authored andcommitted
fix issue with folder names like "a, b"
"a, b" (without the quotes) is a valid Windows folder name, but when using Open in -> System Explorer the folder is not shown in the System explorer but the "My Computer" View
1 parent 65787d4 commit 6fc79c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEPreferenceInitializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static String getShowInSystemExplorerCommand() {
111111
if (Util.isGtk()) {
112112
return "dbus-send --print-reply --dest=org.freedesktop.FileManager1 /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:\"${selected_resource_uri}\" string:\"\""; //$NON-NLS-1$
113113
} else if (Util.isWindows()) {
114-
return "explorer /E,/select=${selected_resource_loc}"; //$NON-NLS-1$
114+
return "explorer /E,/select=\"${selected_resource_loc}\""; //$NON-NLS-1$
115115
} else if (Util.isMac()) {
116116
return "open -R \"${selected_resource_loc}\""; //$NON-NLS-1$
117117
}

0 commit comments

Comments
 (0)