query {
foo {
bar
baz
# region
zim
zam
zop
# endregion
}
}
The region/endregion comments do not activate custom code folding regions.
Desired Behavior
# region and # endregion or some variant like # :region and # :endregion should allow for custom code folding regions. This is especially useful for large queries within one resolver.
This specific syntax is an existing feature for other languages in VS Code and there are other mechanisms for other editors. Regardless of the actual implementation, first-party support for some sort of custom folding would be greatly appreciated!
Current Behavior (if applicable)
The region/endregion comments do not activate custom code folding regions.
Desired Behavior
# region
and# endregion
or some variant like# :region
and# :endregion
should allow for custom code folding regions. This is especially useful for large queries within one resolver.This specific syntax is an existing feature for other languages in VS Code and there are other mechanisms for other editors. Regardless of the actual implementation, first-party support for some sort of custom folding would be greatly appreciated!