微信小程序开发工具快捷键
Mac OS 快捷键 | Windows 快捷键 | 说明 |
---|---|---|
⌘ + Q | 退出开发者工具 | |
⇧ + ⌘ + N | shift + ctrl + N | 新建项目 |
⇧ + ⌘ + W | shift + ctrl + W | 关闭当前项目 |
文件 | ||
⌘ + N | ctrl + N | 新建文件 |
⌘ + S | ctrl + S | 保存文件 |
⇧ + ⌘ + S | shift + ctrl + S | 保存所有文件 |
⌘ + W | ctrl + W | 关闭当前文件 |
编辑 | ||
⌘ + Z | ctrl + Z | 撤销 |
⇧ + ⌘ + Z | shift + ctrl + Z | 重做 |
⌘ + C | ctrl + C | 复制 |
⌘ + X | ctrl + X | 剪切 |
⌘ + V | ctrl + V | 粘贴 |
⌘ + [ | ctrl + [ | 代码左缩进 |
⌘ + ] | ctrl + ] | 代码右缩进 |
⇧ + ⌥ + F | shift + alt + F | 格式化代码 |
⌥ + ⬆ | alt + ⬆ | 代码上移一行 |
⌥ + ⬇ | alt + ⬆ | 代码下移一行 |
⇧ + ⌥ + ⬆ | shift + alt + ⬆ | 复制并向上粘贴 |
⇧ + ⌥ + ⬇ | shift + alt + ⬆ | 复制并向下粘贴 |
⌘ + P | ctrl + P | 跳到文件 |
⌘ + E | ctrl + E | 跳到最近文件 |
⌘ + ⌥ + ⬅ | ctrl + alt + ⬅ | 打开当前文件编辑器左边的文件 |
⌘ + ⌥ + ➡ | ctrl + alt + ➡ | 打开当前文件编辑器右边的文件 |
⌘ + F | ctrl + F | 文件内搜索 |
⇧ + ⌘ + F | shift + ctrl + F | 项目内搜索 |
⇧ + ⌘ + R | shift + ctrl + R | 焦点在编辑器内,表示替换 |
工具 | ||
⌘ + B | ctrl + B | 编译项目 |
⌘ + R | ctrl + R | 焦点在编辑器外,编译项目 |
⇧ + ⌘ + P | shift + ctrl + P | 预览代码 |
⇧ + ⌘ + U | shift + ctrl + U | 上传代码 |
界面 | ||
⌘ + , | ctrl + , | 打开设置窗口 |
有需要服务器的小伙伴可以点击下面链接5折购买哦~
热卖云产品3折起,云服务器、云数据库特惠,服务更稳,速度更快,价格更优
https://cloud.tencent.com/act/cps/redirect?redirect=1014&cps_key=f960a09f2d06453a8d42a2063b49abc2&from=console
热卖云产品3折起,云服务器、云数据库特惠,服务更稳,速度更快,价格更优
https://cloud.tencent.com/act/cps/redirect?redirect=1014&cps_key=f960a09f2d06453a8d42a2063b49abc2&from=console
腾讯云服务器安全可靠高性能,多种配置5折出售:
https://cloud.tencent.com/act/cps/redirect?redirect=1001&cps_key=f960a09f2d06453a8d42a2063b49abc2&from=console