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

Path autocompletions/suggestions: whitespaces, escaped backslash, dollar symbol, drives' names, ... #35510

Open
iagobaapellaniz opened this issue Apr 17, 2020 · 0 comments

Comments

@iagobaapellaniz
Copy link
Contributor

iagobaapellaniz commented Apr 17, 2020

julia> versioninfo()
Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)

The problem arises when using tab completion. There are different cases.

(1) Suggestions are listed but from somewhere else after writing the colon.

julia> cd("C:[TAB]

I think it should go directly to C:\\.

(2) Suggestions are listed but somewhere else, also after a withe space or if there is some white space on the string. For instance one can have two different folders with similar names

julia> cd("C:\\Path With [TAB]

which sould suggest the two folders I created, "Path With Spaces" and "Path With More Spaces"

(3) Even weirder things happen when you try to switch between different drives, shuch as "C:" or "D:".
Sometimes it suggests or completes the path from another drive

julia> cd("D:\\FooFolder")

julia> cd("C:\\BarFolder")

julia> cd("D:[TAB]

It suggests what it is inside FooFolder. And if

julia> cd("D:\\FooFolder\\Folder With WhiteSpaces[TAB]

it lists what it is in BarFolder.

(4) Finally, I also found that if a single backslash is typed, then it doesn't write the sencond one needed

julia> cd:("C:\Fo[TAB]

julia> cd:("C:\FooFolder\\

(5) Extra bug. It doesn't autocomplete just after the dollar symbol.

julia> cd("C:\\Foo$[TAB]

prints all methods and so on.

I think we need a more precise list, but I don't have the skills to know how and why this may happen. Sorry. I tried to do my best.

PS, I'm not sure if this only happens on Windows. The whitespace and dollar bugs may happen also on Linux.

@iagobaapellaniz iagobaapellaniz changed the title PATH Autocompletions/suggestions: White-spaces, escaped backslash, dollar symbol, drives' names, ... Path autocompletions/suggestions: White-spaces, escaped backslash, dollar symbol, drives' names, ... Apr 17, 2020
@iagobaapellaniz iagobaapellaniz changed the title Path autocompletions/suggestions: White-spaces, escaped backslash, dollar symbol, drives' names, ... Path autocompletions/suggestions: whitespaces, escaped backslash, dollar symbol, drives' names, ... Apr 17, 2020
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

No branches or pull requests

1 participant