-
Notifications
You must be signed in to change notification settings - Fork 61
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
Bracket completion doesn't play well with tab-completion #334
Comments
Not quite the same, but when having |
I have also been having this issue after installing Julia 1.10. This works as expected in 1.9. Doesn't seem to matter whether OhMyREPL is loaded at startup or later. |
I'm having the same issue. Furthermore, after autocompletion by tabbing the cursor is on the extraneous quotation mark. Pressing delete removes BOTH quotation marks on the right. Then if I type a quotation mark to close the string, two appear again! To remove the extraneous quotation mark, I need to press the right arrow key and then delete. |
Yes, this is not an OhMyREPL issue, but a Julia 1.10 issue. |
I switched off |
I get the problem with I think the confusion is because julia> include(| type julia> include("|" i.e., it adds a closing quote for you automatically. enable_autocomplete_brackets(false) Julia 1.10 introduced the problem that The bad interaction with |
I think the way many editors handle this is that when you type the final |
OhMyREPL already does that. |
A quick fix for this is to add the following to your # quickfix for path completion issue (don't add closing quotes)
@eval REPL.REPLCompletions close_path_completion(d, ps, s, p) = false |
When typing
include("myf<tab>
this ends up withinclude("myfile.jl"")
Supposedly typing
"
adds the first closing"
, and tab completion the second.The text was updated successfully, but these errors were encountered: