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+ doesn't work when solargraph is enabled #13

Open
aergonaut opened this issue Mar 27, 2019 · 3 comments
Open

Autocomplete+ doesn't work when solargraph is enabled #13

aergonaut opened this issue Mar 27, 2019 · 3 comments

Comments

@aergonaut
Copy link

With the atom-solargraph extension enabled, autocomplete+ appears to stop working. No suggestions appear, even for snippets or other terms in the file.

With atom-solargraph disabled, autocomplete+ goes back to normal and starts showing suggestions again.

Pressing ctrl-space or ctrl-alt-o doesn't have any effect.

commandPath is set to /Users/chris/.rbenv/shims/solargraph because I use rbenv.

The extension used to work for me, but I have since switched laptops and reinstalled my tools. I might be missing some customization or other setting.

Ruby version: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin18]
Solargraph gem version: 0.31.3
atom-solargraph version: 0.14.0
Atom : 1.35.1
Electron: 2.0.18
Chrome : 61.0.3163.100
Node : 8.9.3

@tan-wei
Copy link

tan-wei commented May 3, 2019

So does my Atom.

Ruby version: ruby 2.5.0 [Windows 10-x64]
Solargraph gem version: 0.32.1
atom-solargraph version: 0.4.0
Atom : 1.36.0

Is there any logs to help solving this problem? Solargraph works quite well in VSCode.

@tan-wei
Copy link

tan-wei commented May 20, 2019

It takes some seconds after Ruby file opened. It works, but takes a long time to start up.
Another strange behavior, sometimes I enter Enter, but it doesn't complete the word. For example, if I enter Str, String must be the first selection, after Enter is pressed, String is not written down. Sometimes I enter Ctrl+Space, but redundant words are written down. For example, If I enter Str, then Ctrl+Space, StrString is the result. It seems the first time I open a Ruby file will trigger any of the situation ...

@TechNomad615
Copy link

It takes some seconds after Ruby file opened. It works, but takes a long time to start up.
Another strange behavior, sometimes I enter Enter, but it doesn't complete the word. For example, if I enter Str, String must be the first selection, after Enter is pressed, String is not written down. Sometimes I enter Ctrl+Space, but redundant words are written down. For example, If I enter Str, then Ctrl+Space, StrString is the result. It seems the first time I open a Ruby file will trigger any of the situation ...

I am having this same issue on Ubuntu 18 & Windows 10. Is there a workaround for this?

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

3 participants