castwide / vscode-solargraph

A Visual Studio Code extension for Solargraph.
Other
424 stars 25 forks source link

Basic completion results in unexpected token #21

Closed raldred closed 6 years ago

raldred commented 6 years ago

I have a based ruby example that is not completing at all. https://www.dropbox.com/s/kv7z4ldn5wrw1ex/Screenshot%202018-02-01%2014.54.09.png?dl=0

I type [1,2,3]. and the following error turns up in the developer tools and I don't get any suggestions

[Extension Host] (string):30:12: error: unexpected token tIDENTIFIER
(string):30:     [1,2,3]_
castwide commented 6 years ago

Thanks, @raldred. There's a bug resolving literal values (strings, arrays, etc.) that's been resolved in the castwide/solargraph master branch. It should work correctly in the next version of the gem.

raldred commented 6 years ago

Thanks, look forward to that rolling through.