SnippetLevel

Values

ValueMeaning
global

Outside of functions or types, possibly inside templates

type

Inside interfaces, classes, structs or unions

method

Inside method body

value

inside a variable value, argument call, default value or similar

other

Other scope types (for example outside of braces but after a function definition or some other invalid syntax place)

strings

Inside a string literal.

comment

Inside a normal comment

docComment

Inside a documentation comment

mixinTemplate

Inside explicitly declared mixin templates

newMethod

Inserted at the start of any method, meaning the scope has cleared or at least is logically separated.

loop

a breakable loop (while, for, foreach, etc.) This type is usually not the trailing type and will repeat method afterwards.

switch_

a switch statement This type is usually not the trailing type and will repeat method afterwards.

Meta