Open With VSCode----在Mac上右键菜单通过Visual Studio Code打开文件夹操作的设置
2018-10-18 15:19
585 查看
1、点击Dock(程序坞)上的Launchpad(小火箭),如图:
2、点击其他,如图:
3、点击自动操作(小机器人),如图:
4、点击新建文稿或cmd+ n,如图:
5、点服务,点击选取,如图:
6、在左侧面板选择“实用工具”;然后找到”运行Shell脚本“,把它拽到右侧面板里;
在右侧“服务”收到选定选择文件夹,位置Finder(访达);“运行Shell脚本”的面板里,选择Shell”/bin/bash“,传递输入“作为自变量”,然后修改Shell脚本,如图:
复制以下内容:
for f in "$@"
do
open -a "Visual Studio Code" "$f"
done
7、之后,保存cmd+s,保存为Open With VSCode,如图:
8、选择电脑上任意一个文件夹,点击右键“服务”,就可以看到“Open With VSCode”菜单,如图:
相关文章推荐
- 卸载Visual Studio Code后删除右键Open with Code…
- VS code 编辑器(文件或者文件夹的右键打开菜单的显示)
- visual studio code(vscode)常用PHP开发插件和设置
- VS2013 打开项目时提示This project is incompatible with the current edition Visual Studio.
- visual studio code 设置chrome浏览器打开,设置node服务器打开;
- Visual Studio Code(VSCODE)语言设置
- Windows 系统 -命令行右键菜单设置(Git/VS Code/cmd)
- Getting started with aspnet5 and visualstudio code on a mac or linux
- 在右键菜单中加入“以Dos方式打开文件夹”,“open dos”
- mac 下命令行启动vscode打开指定文件夹
- (OK) Spend Leap Day with TACO + VS Code (visual studio code) - Cordova
- 解决VS2010打开项目时“This project is incompatible with the current version of Visual Studio”
- React with Visual Studio Code and Webpack
- vscode添加到右键菜单
- 剖析并利用Visual Studio Code在Mac上编译、调试c#程序【转】
- visual studio code(vscode) 调试php
- 右键菜单快速打开VS 2005 Website项目
- 一个WinForm记事本程序(包含主/下拉/弹出菜单/打开文件/保存文件/打印/页面设置/字体/颜色对话框/剪切版操作等等控件用法以及记事本菜单事件/按键事件的具体代码)
- 删除mac下右键“打开”菜单里由VMWare产生的菜单项
- Flutter beta 版尝鲜(在 Windows + Android Studio 与 MacOS + VS Code 的安装配置)