Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling Windows paths with spaces in the REPL #731

Merged
merged 3 commits into from
Apr 15, 2020

Conversation

FAlobaid
Copy link
Contributor

@FAlobaid FAlobaid commented Apr 15, 2020

Fixes JunoLab/Juno.jl#421 to correctly handle Windows paths with spaces in Juno REPL. Related pull request: JunoLab/Atom.jl#320.

Fixes JunoLab/Juno.jl#421 to correctly handle Windows paths with spaces in Juno REPL.
lib/runtime/console.js Outdated Show resolved Hide resolved
Updated the regexp to better handle file extensions by excluding non-path characters.
@FAlobaid FAlobaid requested a review from aviatesk April 15, 2020 14:16
Copy link
Member

@aviatesk aviatesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this problem is actually not specific to Windows -- the same problem can happen on osx and linux, but I don't think the fixes on them should hold this PR to be merged.

@pfitzseb do you think this fix is okay to merge ?

@pfitzseb
Copy link
Member

Yeah, I think this is strictly better than what we had before. Still not working perfectly when there's no extension, but whatever. Let's make the same change on unixes after merging this PR.

@aviatesk aviatesk merged commit 5d46cc9 into JunoLab:master Apr 15, 2020
@FAlobaid FAlobaid deleted the fixwinpaths branch April 15, 2020 15:00
FAlobaid added a commit to FAlobaid/atom-julia-client that referenced this pull request Apr 16, 2020
This fix is related to JunoLab/Juno.jl#421 and improves on the previous PR JunoLab#731 to better handle paths with spaces in the REPL for Windows, macOS and Linux.
FAlobaid added a commit to FAlobaid/atom-julia-client that referenced this pull request Apr 18, 2020
This fix is related to JunoLab/Juno.jl#421 and improves on the previous PR JunoLab#731 to better handle paths with spaces in the REPL for Windows, macOS and Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Clicking on path that contains spaces in REPL plane does not open corresponding file in editor plane
3 participants