Skip to content

Empty option for choice node #153

Description

@zna5368

Problem Statement

If you have a choice block, there should be an option that allows you to do nothing. The closest I was able to get to this was adding just a space, but that looks bad.

snippet class "Create a new class"
	public class ${2:$TM_FILENAME_BASE} ${3| ,extends,implements|} {
		${0}
	}

Ideas or possible solutions

Maybe add some special choice like $EMPTY which will not do anything if you choose it:

snippet class "Create a new class"
	public class ${2:$TM_FILENAME_BASE} ${3| $EMPTY,extends,implements|} {
		${0}
	}

Alternatives you have considered

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions