jupyterlab/jupyterlab
View on GitHubAdd a button to file open dialog to convert backslashes to forward slashes
Open
#6,932 opened on Aug 2, 2019
help wantedpkg:filebrowsertag:Design and UX
Description
As noted in #5051 and #5626, windows users would sometimes like to type in paths that have backslashes in them. For example, a windows user might get such a path from an error message in the kernel, or from some other file browser in the operating system. It can be annoying for a windows user to convert a backslash-delimited path to the forward-slash delimited path JupyterLab (and the Jupyter server) expects.
One idea that came up in #5626 is a button in the file open dialog that simply replaces backslashes with forward slashes in the textbox. That way a user can easily normalize their path right in that dialog. Perhaps the button is only active if we detect a backslash in the path.