-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Unable to autocomplete Unicode characters with Julia language server #1807
Comments
Just thought I would chime in to say that I have 'solved' this by modifying the I don't know what broader implications this has on the rest of the application so I haven't opened up a pull request. It does resolve this issue though in allowing for the autocomplete of unicode characters. |
I think the intent there is to keep scanning while char != whitespace, I'd accept a change that does that. |
I did something similar. The problem with this solution is, that you can't chain multiple completions. For example To solve this you need an exemption for |
Hi! Sorry to ask, I am not really fluent using rust. Could you explain me how can I include this exemption and how to treat |
Sorry, I somehow missed this. I did not implement this so far, just described how it should work. Not really fluent in Rust either. So far I just replaced line 3493 with this hacky workaround: let offset = iter.take_while(|ch| chars::char_is_word(*ch) || *ch == '\\').count(); |
This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807
PR helix-editor#4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807
PR #4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes #3084, #1807 Co-authored-by: Blaž Hrastnik <[email protected]>
PR helix-editor#4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807 Co-authored-by: Blaž Hrastnik <[email protected]>
PR helix-editor#4134 switched the autocomplete menu from alphabetical to fuzzy sorting. This commit removes the still existing filtering by prefix and should enable full fuzzy sorting of the autocomplete menu. closes helix-editor#3084, helix-editor#1807 Co-authored-by: Blaž Hrastnik <[email protected]>
The Julia language server is able to autocomplete certain Unicode characters. These always start with a backslash, for example
\alpha
should complete toα
.Issue seems to be that helix gets the wrong prefix because it doesn't include the backslash (not a word).
helix/helix-term/src/commands.rs
Lines 3493 to 3495 in 05161aa
The correct results from the server, that start with a backslash, are then filtered out.
helix/helix-term/src/commands.rs
Lines 3519 to 3527 in 05161aa
Reproduction steps
File with
\alpha
, see logs.Environment
~/.cache/helix/helix.log
The text was updated successfully, but these errors were encountered: