VS Code & MacOS & Zsh

VS Code & MacOS & Zsh

https://code.visualstudio.com/docs/setup/mac

VS Code & MacOS & Zsh

VS Code & MacOS & Zsh

solution

OK

VS Code & MacOS & Zsh

bug


$ cat .zshrc
$ vim .zshrc # flutter PATH & zsh
export PATH="$PATH:/Users/xgqfrms-mbp/Documents/Flutter/flutter/bin" # Add Visual Studio Code (code)
# export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
export PATH="$PATH:/Users/xgqfrms-mbp/Applications/Visual Studio Code.app/Contents/Resources/app/bin" $ source $HOME/.zshrc

VS Code & MacOS & Zsh

code – opens Visual Studio Code

code . – opens current directory in Visual Studio Code

code somefile – opens somefile in Visual Studio Code

How to run Visual Studio Code from Zsh on Mac OSX

VS Code & MacOS & Zsh

https://kevgriffin.com/how-to-run-visual-studio-code-from-terminal-on-mac-osx/

VS Code & MacOS & Zsh

https://kevgriffin.com/how-to-run-visual-studio-code-from-zsh-on-mac-osx/

https://codewithhugo.com/a-simple-javascript/node-coding-setup-on-mac-os-x/

https://dev.to/nyanev/how-to-use-zsh-in-vs-code-for-mac-39dp

上一篇:用Visual Studio创建gtest动态链接库工程


下一篇:MAT(Memory Analyzer Tool)工具入门介绍