castwide / vscode-solargraph

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

Autocomplete doesn't work inside string interpolation #30

Closed StefanoPernat closed 6 years ago

StefanoPernat commented 6 years ago

First of all I'd thank you for your awesome work. I discovered that inside string interpolation intellisense does not show any suggestion.

(see the attachment for an example)

Here's my configuration: VSCode 1.21 Solargraph gem 0.17.3 string_interpolation_autocomplete

castwide commented 6 years ago

Thanks for the kind words and the report.

There's a fix for this issue in an upcoming version of the gem that includes support for Microsoft's language server protocol. I'll see if it's possible to backport the fix to the master branch, in which case it'll be fixed in gem version 0.17.4. If it can't be backported, it'll be in the first version that uses LSP, which I hope to release by the end of the month.

castwide commented 6 years ago

Autocomplete inside string interpolation works with the latest versions of the gem and extension.

castwide commented 6 years ago

This issue should be resolved. If anyone still has problems with autocompletion in strings, please open a new issue.