Skip to content

Instantly share code, notes, and snippets.

View wayne-shih's full-sized avatar
🙃
love hate relationship with code...

Wayne Shih wayne-shih

🙃
love hate relationship with code...
View GitHub Profile
To find the name of your editor use this.
osascript -e 'id of app "Visual Studio Code"'
To set all text files and similar files to vscode instead of xcode use this.
brew install duti
duti -s com.microsoft.VSCode public.json all
duti -s com.microsoft.VSCode public.plain-text all
duti -s com.microsoft.VSCode public.python-script all