Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Changed swapped $2 and $0 position for anonymous go function snippet. #2354

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

uroybd
Copy link
Contributor

@uroybd uroybd commented Feb 25, 2019

For anonymous go function (the snippet with the prefix "go") I think it will be more convenient if we end snippets in the body instead of the variable field. The function body is the largest of these 3 placeholders and will be in need of completion features more than any other. Therefore, I think, it is reasonable if we give it the $0 place.

For anonymous go function (the snippet with the prefix "go") I think it will be more convenient if we end snippets in the body instead of the variable field. The function body is the largest of these 3 placeholders and will be in need of completion features more than any other. Therefore, I think, it is reasonable if we give it the $0 place.
@jhendrixMSFT
Copy link
Member

Good idea, thanks for the contribution.

@jhendrixMSFT jhendrixMSFT merged commit 238a473 into microsoft:master Mar 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants