将键盘快捷键更改为“运行脚本";在Atom IDE中 [英] Change keyboard shortcut to "Run Script" in Atom IDE

查看:126
本文介绍了将键盘快捷键更改为“运行脚本";在Atom IDE中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在脚本"包中,运行脚本"的键盘快捷键是shift+ctrl+b. 有人知道如何将其更改为自定义快捷方式吗?

In the "Script" package, The keyboard shortcut to "Run Script" is shift+ctrl+b. Does anyone know how to change this to a custom shortcut?

我在Atom(使用Windows 10 64bit)中安装了脚本3.14.1

I have script 3.14.1 installed in Atom (with Windows 10 64bit)

推荐答案

转到"设置","",找到"脚本"包,然后单击"设置".

go to "Settings", "Packages", find the "script" package and click "Settings".

在顶部,选择查看代码"按钮.

at the top, select "View Code" button.

在弹出的新窗口中,展开" keymaps "文件夹,然后打开" script.cson "文件.

In the new window that pops up, expand the "keymaps" folder and open the "script.cson" file.

找到'script:run'的快捷方式(第15行),然后输入您的首选快捷方式.

Find the shortcut for 'script:run' (line 15) and type in your preferred shortcut.

保存文件.

就是这样!

这篇关于将键盘快捷键更改为“运行脚本";在Atom IDE中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆