Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation examples for snippets format if/else #2215

Closed
Gruntfuggly opened this issue Nov 19, 2018 · 1 comment
Closed

Documentation examples for snippets format if/else #2215

Gruntfuggly opened this issue Nov 19, 2018 · 1 comment
Assignees

Comments

@Gruntfuggly
Copy link

Would if be possible to add some more examples in the snippets configuration documents?

I would particularly like to understand how to add an alternative to the format transform.

At the moment whatever I try just seems to repeat each character of the capture group with my alternative text?

@jrieken jrieken transferred this issue from microsoft/vscode Nov 21, 2018
@gregvanl
Copy link

Closing older issue. I think this is covered in https://code.visualstudio.com/docs/editor/userdefinedsnippets#_transform-examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants