I want to simplify the typing of this:
export const RECEIVE_POSTS = 'RECEIVE_POSTS'
I then came up with this snippet:
<snippet>
<content><![CDATA[
export const ${1/(.+)/\U$1/g} = '${1/(.+)/\U$1/g}'
${1}
]]></content>
<tabTrigger>con</tabTrigger>
<scope>source.js</scope>
<description>ES6 Module Export Variable</description>
</snippet>
However, the downside is that I need to delete the originally typed input.
Is is possible that the letters be automatically transformed into all-caps when first typing in the field${1}?