📅  最后修改于: 2022-03-11 15:00:37.136000             🧑  作者: Mango
(Mac)
1. Try uninstalling and reinstalling. (command + shift + p) >shell Command: Uninstall 'code' command from Path
2. append the following to your ~/.bash_profile file (~/.zshrc in case you use zsh).
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}