Skip to content

Conversation

@MatejKastak
Copy link
Member

@MatejKastak MatejKastak commented Nov 15, 2022

  • Fix tests

@MatejKastak MatejKastak force-pushed the 14-implement-system-for-dynamic-snippets-based-on-the-user-configuration branch from ebf48bb to c1c2eee Compare November 20, 2022 20:09
snippet.append_text("\tstrings:\n\t\t")
snippet.append_placeholder(r"\$name")
snippet.append_text(" = ")
snippet.append_choice(('"string"', "/regex/", "{ HEX }"))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I always wanted to provide a tabstop in these choices so user's could easily swap out the string, regex, and HEX text, but I could never figure out a way to do it with the VSCode API. It's a small quality improvement, but that may be something worth looking into more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Implement system for dynamic snippets based on the user configuration

3 participants