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

autocomplete not working on windows #901

Closed
LollipopFt opened this issue Oct 24, 2021 · 6 comments
Closed

autocomplete not working on windows #901

LollipopFt opened this issue Oct 24, 2021 · 6 comments
Labels
C-bug Category: This is a bug

Comments

@LollipopFt
Copy link
Contributor

auto-completion does not work.
tried on alacritty, windows terminal and base command prompt.
compiled from source.

Reproduction steps

when typing in a text file:
https://user-images.githubusercontent.com/62802897/138602991-e5df41d5-f569-40a0-a377-c404c01b901c.mp4
you may not notice it. but i had done ctrl-x to try to invoke the autocomplete to no avail. when typing in 'hello' for the second time, autocomplete should have worked at least.

Environment

  • Platform: Windows 10 Pro
  • Helix version: v0.4.1-272-g42eee9d
AppData\Local\helix\helix.log:
2021-10-25T00:16:29.695 helix_view::editor [ERROR] Failed to initialize the LSP for `source.rust` { IO Error: The system cannot find the file specified. (os error 2) }
this was the only thing in my log file.
@LollipopFt LollipopFt added the C-bug Category: This is a bug label Oct 24, 2021
@kirawi
Copy link
Member

kirawi commented Oct 24, 2021

That means the LSP isn't in your PATH. You need to install rust-analyzer and do that :P

@LollipopFt
Copy link
Contributor Author

oh so just to clarify, i need lsp for autocomplete to work? i was thinking of sublime text where they just had a list of words you had typed for that file and use that as autocomplete output, no lsp needed.

@kirawi
Copy link
Member

kirawi commented Oct 25, 2021

Yeah, Helix doesn't have that.

@LollipopFt
Copy link
Contributor Author

i see, thank you!

@dead10ck
Copy link
Member

dead10ck commented Nov 9, 2021

It would be very useful to have a purely lexical autocomplete. Some languages do not have good language servers, and sometimes you're not editing code. Are feature requests accepted?

@sudormrfbin
Copy link
Member

It would be very useful to have a purely lexical autocomplete. Some languages do not have good language servers, and sometimes you're not editing code. Are feature requests accepted?

@dead10ck That's a useful feature, could you open a separate issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

4 participants