在終端中可以輸入 $ code .或者 $ code ****.html 打開文件。 如果 終端提示 command not found 回到vscode 安裝 shell 如圖: 屏幕快照 2018-04-17 上午8.58.59.png