在mac上需要先安装code的命令

1.command + shift + P

image.png

2.输入code

image.png

3.点击安装