Add a button to file open dialog to convert backslashes to forward slashes
#6,932 opened on Aug 2, 2019
Repository metrics
- Stars
- (13,454 stars)
- PR merge metrics
- (Avg merge 16d 4h) (86 merged PRs in 30d)
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.