vs code & macOS services
Mac OS X, Open Folder With VS Code (right click)
https://github.com/Microsoft/vscode/issues/1223
https://code.visualstudio.com/docs/setup/mac
solution
quick action
https://www.jimbobbennett.io/open-anything-in-vs-code-using-a-macos-quick-action/
- Open Folder In VS Code
Open Folder In VS Code
https://hjerpbakk.com/blog/2017/12/22/open-folder-in-vs-code
- .bash_profile
cat << EOF >> ~/.bash_profile
# Add Visual Studio Code (code)
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
- Open Folder In VS Code
https://github.com/Sankra/OpenFolderInVSCode
Quick Action
https://www.jimbobbennett.io/open-anything-in-vs-code-using-a-macos-quick-action/
https://github.com/cnstntn-kndrtv/open-in-buttons-for-finder-toolbar
$ open -n -b "com.microsoft.VSCode" --args "$*"
Automator Service
https://apple.stackexchange.com/a/239049
Finder toolbar icon
A Finder toolbar icon to open current selected file/folder with Visual Studio Code
https://github.com/hamxiaoz/open-folder-with-vs-code
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!