golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.8k stars 730 forks source link

`func` -> `fu` | func snippet/keyword conflict fix #3143

Closed setanarut closed 6 months ago

setanarut commented 6 months ago

Vscode always selects the func keyword first. This is because the func snippet and the func keyword are the same. "editor.snippetSuggestions":"top", even if selected.

Before:

Ekran Resmi 2024-01-20 16 01 28

After:

Ekran Resmi 2024-01-20 16 03 36

google-cla[bot] commented 6 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.