GoSublime icon indicating copy to clipboard operation
GoSublime copied to clipboard

Autocompletion is not happening in this special select case

Open lnshi opened this issue 4 years ago • 2 comments

As u can see from the below two pics, the autocompletion is not functioning in that special select case block for the variable res := results{} ONLY (i tested some builtin modules, and some my own modules all works well, so ONLY for that res := results{} variable autocompletion is NOT functioning...)

And actually the select case block is the ONLY place where the variable res := results{} autocompletion is NOT working....

And my code is working well...

Screenshot 2020-03-16 at 22 35 01 Screenshot 2020-03-16 at 22 33 42

lnshi avatar Mar 16 '20 14:03 lnshi

There are a few weird cases like this. I'll see if I can get some time to investigate this weekend.

DisposaBoy avatar Mar 16 '20 18:03 DisposaBoy

This should be fixed in the next branch. I'll push a new release in a few days.

DisposaBoy avatar May 15 '20 16:05 DisposaBoy