-
Notifications
You must be signed in to change notification settings - Fork 286
autocomplete not working inside methods #72
Comments
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? |
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 |
#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 |
Your environment
vscode-ruby
version: 0.8.0Make sure you have
ruby
,ruby-debug-ide
andruby-debug-basex19
installed before submitting your issue -- thank you !Expected behavior
when i use a variable and call autocomplete it should list all methods of this variable
Actual behavior
autocomplete work only if the variable is outside the method
Steps to reproduce the problem
[1, 2, 3].e => inside a method does nothing
[1, 2, 3].e => outside methods autocomplete works as expected
The text was updated successfully, but these errors were encountered: