mac用vscode打开html,Mac 命令行打开VsCode
释放双眼,带上耳机,听听看~!
命令行
命令行命令安装
安装 VSCode Shell 命令,按 Shift+Cmd+P 搜索 shell command install 回车即可。
命令行帮助
Visual Studio Code 1.30.0
Usage: code [options] [paths...]
To read from stdin, append '-' (e.g. 'ps aux | grep code | code -')
Options:
-d, --diff Compare two files with each other.
-a, --add
-g, --goto Open a file at the path on the specified line and character position.
-n, --new-window Force to open a new window.
-r, --reuse-window Force to open a file or folder in an already opened window.
-w, --wait Wait for the files to be closed before returning.
--locale The locale to use (e.g. en-US or zh-TW).
--user-data-dir
instances of Code.
-v, --version Print version.
-h, --help Print usage.
Extensions Management:
--extensions-dir
--list-extensions List the installed extensions.
--show-versions Show versions of installed extensions, when using
--list-extension.
--uninstall-extension ( | ) Uninstalls an extension.
--install-extension ( | ) Installs or updates the extension. Use `--force` argument to
avoid prompts.
--enable-proposed-api () Enables proposed API features for extensions. Can receive
one or more extension IDs to enable individually.
Troubleshooting:
--verbose Print verbose output (implies --wait).
--log Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn',
'info', 'debug', 'trace', 'off'.
-s, --status Print process usage and diagnostics information.
-p, --performance Start with the 'Developer: Startup Performance' command enabled.
--prof-startup Run CPU profiler during startup
--disable-extensions Disable all installed extensions.
--disable-extension Disable an extension.
--inspect-extensions Allow debugging and profiling of extensions. Check the developer tools for the
connection URI.
--inspect-brk-extensions Allow debugging and profiling of extensions with the extension host being paused after
start. Check the developer tools for the connection URI.
--disable-gpu Disable GPU hardware acceleration.
--upload-logs Uploads logs from current session to a secure endpoint.
--max-memory Max memory size for a window (in Mbytes).
```常用命令
```// 在 VSCode 中打开当前目录
$ code .
// 在最近使用过的 VSCode 窗口打开当前目录
$ code -r .
// 创建新的窗口
$ code -n
$ code --new-window
// 更改语言
$ code --locale=es
// 跳转到指定文件的指定行列,相当于跳转到指定文件的指定行的从左到右第几个字符上
$ code -g /path/to/:10:10
$ code --goto /path/to/:10:20
// 打开 diff 编辑器比较文件
$ code -d
$ code --diff
// 查看帮助选项
$ code --help
// 禁用所有扩展
$ code --disable-extensions
mac用vscode打开html,Mac 命令行打开VsCode相关推荐
- mac 命令行打开火狐_从命令行打开多个Firefox选项卡
mac 命令行打开火狐 Now that I work on Firefox Developer Tools, I'm really starting to learn some of the tri ...
- Mac电脑使用终端快速进入mysql命令行的方法(超详细)
Mac 快速进入mysql命令行 平时在Windows下安装一些软件是需要配置环境变量才可以在命令行窗口打开,那么在MAC下该如何操作呢? 以下是Mac电脑通过终端进入mysql命令行的两种方法: 1 ...
- Mac OS开机启动自动执行命令行
Mac OS开机启动自动执行命令行 公司的打包服务器升级需要频繁重启,或者物业断电而必须关机时,下次开机都需要手动启动一些服务,这样就显得非常麻烦,故需要进行配置使得Mac开机后自动启动服务. 首先编 ...
- Mac电脑调用自带的命令行窗口
前言 提示:我们都熟悉Windows电脑通过win+r即可以快速启动命令行窗口,但是Mac电脑中如何实现调用命令行窗口呐? 一.快捷键:command + 空格 二.敲入te,terinmal的缩写即 ...
- cmd传入命令行打开程序_打开cmd命令行 - 卡饭网
win7如何打开cmd命令提示符的方法 win7如何打开cmd命令提示符的方法 win7如何打开cmd? 有两种打开cmd命令行窗口的操作方法: 第一,单击"开始"菜单按钮,然后在 ...
- Linux 下从命令行打开pdf文件和html文件的命令
Linux 下从命令行打开pdf文件和html文件的命令 [日期:2012-06-18] 来源:Linux社区 作者:hipercomer [字体:大 中 小] 如果你经常工作在Linux终端下,某个 ...
- Windows上快速在指定目录打开cmd.exe命令行的方法
前言 命令行在项目开发中使用频率很高,在指定目录中打开命令行也是很常见的需求,本文将介绍几种快速在指定目录打开cmd.exe命令行的方法,提高效率. 普通方式 运行->输入cmd.exe,点击确 ...
- Ubuntu 在终端下使用命令行打开pdf文件
终端下使用命令行打开pdf文件 > evince <文件名>& 使用evince命令在后台打开 使用鼠标打开感觉怪怪的
- win10中用命令行打开画图
新安装了win10系统,画图不太好找.直接用命令行打开也快. 步骤一:win+r打开命令行,输入mspaint回车即可:
- 使用命令行打开应用程序
当桌面上已经有很多正在使用的窗口,想要打开新的应用程序,又不想将桌面上已存在的窗口最小化返回桌面,通过双击桌面上的应用程序快捷方式打开应用程序,这时候有没有什么快捷简便的应用程序打开方式呢? ☆☆可以 ...
最新文章
- List数组,string数组,Dictionary字典三种contain方法的查询速度
- Android应用截图和SurfaceView截图问题总结
- 图片的批量下载 和 爬虫爬取图片数据集
- 【设计模式】—— 职责链模式ChainOfResponsibility
- 图解Oracle 12c 手动建库
- 【解题报告】Leecode. 575. 分糖果——Leecode每日一题系列
- [html] 写一个三栏布局,中间固定,两边自适应(平均)
- java 文件inputstream_java – 如何在InputStream中接收多个文件并相应地处理它?
- JavaWeb播放视频实现断点续传、分片上传
- 软件结构体系实验作业一——使用状态模式模拟会员积分系统
- 会场安排问题(活动场次而不是会场场次)
- 很全的大数据分析平台
- 扶贫?教育?地铁?这里有跨界也能实现的企业数字化新操作!
- AD学习记录03-规则
- 线性子空间模型 linear subspace model
- 马化腾微信朋友圈惋惜小黄车 网友们狂赞 并替Pony搞起情怀大接龙
- Python----空空如也
- 浙江省计算机二级考试几号,浙江省3月全国计算机二级考试时间
- angular使用微信开放标签
- gitlab设置126邮箱smtp
热门文章
- cbow word2vec 损失_Word2Vec的核心思想
- linux cd的帮助文件,linux查看命令帮助man命令详解在线手册
- 临时手机验证码_实用网站(一)短信验证码 临时网盘 临时邮箱
- pycharm格式化代码快捷键_你写的 Python 代码总是不规范?用它!
- Android开发之RecyclerView嵌套ListView自动计算高度的方法
- Android Studio安装插件提示was not installed: Cannot download的解决办法(仅限AS2.2版本以上)
- NSString、NSArray、NSDic常用方法汇总
- 我们用5分钟写了一个跨多端项目
- hive_0.11中文用户手册
- WPF 和 windows Form Application的区别