I want VSCode to generate my classname based on my filename:
Filename: test-class-file.php
should become: Test_Class_File
I found the following examples:
"${TM_FILENAME_BASE/[-]/_/g}"
Becomes:test_class_file
"${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/}"
Becomes:TestClassFile
The official docs Do not mention chaining or anything like that.
There also doesn’t appear to be a way to store something in a temp variable.
How can I combine these 2 into one transform/regex action?