Open select file in VSCode, Create new file in current folder with VSCode

Here are two simple Touch Bar buttons I often use.

1.) The first one creates a new file in the currently open folder in Finder with Visual Studio Code:
2.) The second one will open the currently selected file with Visual Studio Code. Copy & paste the JSON below into the Touch Bar tab in BTT.

You can access them here: https://share.folivora.ai/sharedPreset/cb10daf9-106d-4de5-86e6-16f8e11f9506

is there a json to add more functional buttons for touchbar in vscode?

Hi Andreas,

I'm running into this issue when I'm running the script:

Can’t make «class fvtg» of «class brow» 1 of application "Finder" into type text.

Any ideas why this may be?

Imprint | Privacy Policy