company-lsp icon indicating copy to clipboard operation
company-lsp copied to clipboard

Use prefix "" when cursor is at trigger character

Open yyoncho opened this issue 4 years ago • 4 comments

Fixes #122

yyoncho avatar Sep 11 '19 18:09 yyoncho

CC @muirrn

yyoncho avatar Sep 11 '19 18:09 yyoncho

What about cases like fmt.Pri<>nt()? I don't necessarily think it is important, but it is a difference between VSCode so I want to consider it.

muirdm avatar Sep 11 '19 18:09 muirdm

This seems to break the normal trigger character behavior. For example, fmt.<> doesn't trigger completions automatically anymore.

muirdm avatar Sep 11 '19 18:09 muirdm

What about cases like fmt.Pri<>nt()? I don't necessarily think it is important, but it is a difference between VSCode so I want to consider it.

It makes sense to support that as well. I will spend some more time into it.

yyoncho avatar Sep 11 '19 19:09 yyoncho