Better autocomplete for a statement while creating a slice using make
rajalokan opened this issue · 0 comments
rajalokan commented
Description
Better autocomplete when creating a slice using make
Steps to Reproduce
- Try creating a slice like this statement
a := make([]int, 5)
- While writing above we get autocomplete of make, on selecting the autocomplete we tab complete to
type
andsize
likea := make(<type>, 0)
. In this is auto highlighted and on hitting tab again takes me to0
. This is expected. - Issue is when I fill with
[]
, I have to manually go after[]
and placeint
. As a feature, I was thinking if we can do the three steps together with three tab press instead of two tab step and manually reaching after[]
.
Hope I'm clear about above.
Expected Behavior
Autocomplete with three tab press.
Actual Behavior
Autocomplete with only two tab press.