I'd like to be able to create a new .jsx file with a single keystroke in VSCode. Currently, using the default "new file" shortcut ctrl+n creates Untitled-X file with no extension, and the file does not immediately appear in my project folder myProject, but in "Open Editors".
I'm not sure why this is the default behavior. Hitting the "New File" button in the file browser creates a new file in the currently focused folder, as you would expect.
How hitting the new file button differs from using the "New File" command in the command palette is a mystery to me.
What I would like to happen is that with ctrl+n, a new .jsx file is created. Additionally, it'd be great if the new file could use some kind of template variable scheme. So I'd get something like this when I use ctrl+n:
Maybe such functionality would be better achieved with a bash script?

