vscode-ruby version: 0.8.0Make sure you have ruby, ruby-debug-ide and ruby-debug-basex19 installed before submitting your issue -- thank you !
when i use a variable and call autocomplete it should list all methods of this variable
autocomplete work only if the variable is outside the method
[1, 2, 3].e => inside a method does nothing
[1, 2, 3].e => outside methods autocomplete works as expected
Seems rctools hasn't lived up to what we were hoping for. It's all we have right now, sorry.
@HookyQR Did you look into using https://github.com/rsense/rsense instead of rctools?
@rebornix was looking into this early on. I have been focusing on staying an implementation that doesn't have to rely on ruby calls. That's a long way off though.
Pinging @mattn and @rebornix for this.
Just as a heads up, rsense is very dead. In case you're ready to maintain the project, I don't think it's worth integrating.
Not to hijack this thread but I just want to know if you can point me to where rctools is hosted. I did a quick google search and couldn't find anything.
Currently, I'm contributor of rcodetools. But still not fixed. Patches welcome!
If I'm reading rcodetools' documentation right, it expects to be able to hook into your tests, and run the tests corresponding to the current class during completion, to analyze its methods.
Not sure I like this approach, personally.
Are there any updates for resolve this problem?
FYI I find this promising https://github.com/castwide/solargraph
https://github.com/rubyide/vscode-ruby/pull/248 should resolve this issue.
@castwide thank you. After I sent PR to enable completion on vscode with rcodetools, I became the maintainer of rcodetools, but since it is too old and flaky, I had hesitant to release fix.
Perfect. I'm very happy that @castwide extension is used in combination with this project. I close the issue because the problem is solved