Skip to content

Unindent in snippet? (switch/case) #262

@metasprite

Description

@metasprite

When I type something like case ...: inside a switch then it will unindent it so it looks like (correct)

switch (...) {
case ...:
}

instead of

switch (...) {
        case ...:
}

But if I make a snippet that writes case ...:, it does not unindent to the correct level, so it looks like the second example, when I want it to look like the first. So is there a way, anyway at all, that I can unindent in a snippet?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions