Goal
I can't find a way to create the following snippet :
[
"${1:SECTION NAME/(.*)/${1:/upcase}/}",
"====================================\n$0"
]
I want the following outcome :
<selection>SECTION NAME</selection>
====================================
I then enter: "i am hopeless". [TAB]
I AM HOPELESS
====================================
<selection />
Almost there!!
The closest I got is this :
[
"${1/(.*)/${1:/upcase}/} ${1:SECTION NAME}",
"====================================\n$0"
]
But I get a duplicate.