This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 286
Can't get auto completion to work #358
Labels
Comments
Apologies for commenting/resurrecting an old issue, but I've continually had this problem whenever I set: "ruby.intellisense": "rubyLocate" #229 mentions opening Code via the terminal, but that resulted in the same error as above: ERR Cannot read property 'then' of undefined: TypeError: Cannot read property 'then' of undefined
at Locate.listInFile (/Users/admin/.vscode-insiders/extensions/rebornix.ruby-0.20.0/out/locate/locate.js:69:29) @andretf, did you ever figure out a way to resolve this on your end? I'm attempting to debug and hoping to contribute a fix/workaround to the extension (unless there's already a fix in the works). Environment:
|
I can confirm that I am getting the exact same issue, except I am on VS code 1.27.2. |
Yep. I am getting the same issue as well. |
@opes It seems the using rubyLocate isn't working yet, I'm using Solargraph now. |
This issue has not had activity for 30 days. It will be automatically closed in 7 days. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Your environment
vscode-ruby
version: 0.18.0Make sure you have
ruby
,ruby-debug-ide
andruby-debug-basex19
installed before submitting your issue -- thank you !Expected behavior
Auto completion to work
Actual behavior
Got this almost same console logged error from #229:
tracking down and the error is thrown by this file:line:
https://github.com/rubyide/vscode-ruby/blob/master/src/locate/locate.js#L74
waitForParse
is undefined whenabsPath in this.tree
is false because#parse
method returns undefined from previous line in ternary if:https://github.com/rubyide/vscode-ruby/blob/master/src/locate/locate.js#L122:
Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: