macOS 中 shell 创建文件夹及文件并 VS Code 打开
macOS
- 在终端中输入:
<!--创建文件夹-->
$ mdkir interview
<!--创建文件-->
$ touch interview/layout.html
<!--使用atom打开文件-->
$ open -a atom interview/layout.html
- 在 VS Code 命令面板中输入
Shell Command: Install ‘code’ command in PATH
- 在终端中输入:
$ code-insiders interview/layout.html
License
- 可以拷贝、转发,但是必须提供原作者信息,同时也不能将本项目用于商业用途。