在Webstorm中删除右侧的一个字符 [英] Delete one character to the right in Webstorm

查看:199
本文介绍了在Webstorm中删除右侧的一个字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此键绑定使我逃脱了.它与emacs Ctrl+D相同,并且我尝试了谷歌搜索,例如在右侧删除一个字符",向前删除",删除下一个字符"等.

This key binding escapes me. It is the same as emacs Ctrl+D and I've tried Googling such things as "delete one character to the right," "forward delete," "delete next character", etc.

以下是phpstorm中的绑定,我认为它很漂亮类似于Webstorm.

Here are the bindings in phpstorm which I assume is pretty similar to Webstorm.

你知道这个动作叫什么吗?

Any idea what this action would be called?

请注意,这是fn+delete在Mac上所做的.如果有一种方法可以对该键绑定进行反向工程,并查看Webstorm中实际上调用了什么功能,那将起作用. 我问过这里如何反向工程绑定.

Note this is what fn+delete does on mac. If there were a way to reverse engineer this keybinding and see what function is actually called in Webstorm, that would work. I asked how to reverse engineer bindings here.

推荐答案

它被掩埋了一点,但是在WebStorm菜单下的Preferences ...,Keymap(在IDE设置下)下.滚动到窗口底部,直到进入其他".单击三角形以展开.向下滚动直到找到Delete(删除),双击它并为其分配ControlD.WebStorm可能会警告您已经分配了按键,并为您提供了删除其他命令的选项.而已.也让我很高兴找到它.

It is buried a bit but, under the WebStorm menu, Preferences..., Keymap (under IDE Settings). Scroll to the bottom of the window until you get to Other. Click the triangle to expand. Scroll down until you get to Delete, double click it and assign it Control D. WebStorm might warn you that the key stroke is already assigned and gives you the option to remove the other command. That's it. Made me happy to find it as well.

这篇关于在Webstorm中删除右侧的一个字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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