ZoeyR / rls-vs2017

Rust extension for Visual Studio 2017 with RLS support
MIT License
110 stars 12 forks source link

autocomplete symbol not inserted when pressing ENTER or TAB #13

Closed albertodemichelis closed 5 years ago

albertodemichelis commented 5 years ago

Hi, I installed VS 2017 and rust stable-x86_64-pc-windows-msvc (1.31.0). All the "goto definition", "help popups" etc.. work fine. However, the autocompletion is mostly broken.

The candidate list pops up correctly. If I select a symbol with the ABC icon(i'm not sure that it means) and press ENTER or TAB, the symbol is inserted in the text. *[PROBLEM] If I select a symbol with the member icon(the box) and press ENTER or TAB the candidate list will close but not insert the symbol in the text editor.

I'm not sure this is a rsl-vs2017 problem or is a visual studio bug. Anybody know how to solve this?

ZoeyR commented 5 years ago

I believe this is a VS bug that occured due to a change in how the rls worked. I'll double check which versions of VS this affects.

ZoeyR commented 5 years ago

I checked, this has been fixed in preview versions of VS 2019 but is a bug in 2017. For now the only thing I can recommend for 2017 is to switch to an older version of the rls. Unfortunately there is nothing I can do from my end.

albertodemichelis commented 5 years ago

ok, got it. Thank you :D