简体   繁体   English

Intellij Hotkey 用于在搜索/替换上标记正则表达式复选框

[英]Intellij Hotkey for marking regex checkbox on search/replace

I have a question that's been bugging me for quite some time now.我有一个问题一直困扰着我很长一段时间。 I'd like to minimize my mouse usage while working in IntelliJ.我想在 IntelliJ 中工作时尽量减少鼠标的使用。

When doing searches (ctrl+f) or replacing text (ctrl+r) I always have to manually check the "Regex" checkbox when I want to use regex.在进行搜索 (ctrl+f) 或替换文本 (ctrl+r) 时,当我想使用正则表达式时,我总是必须手动选中“正则表达式”复选框。 Is there a quick way to toggle this checkbox with my keyboard, or do I always have to use my mouse for that?有没有一种快速的方法可以用我的键盘切换此复选框,或者我是否总是需要使用鼠标?

Simply tabbing to the checkbox does not seem to be an option as using tab simply jumps between the search and replace input-boxes.简单地选择复选框似乎不是一个选项,因为使用选项卡只是在搜索和替换输入框之间跳转。

I can't seem to find anything in the keymap settings nor on google:(我似乎在键盘映射设置和谷歌上都找不到任何东西:(

Thanks in advance.提前致谢。 :) :)

Just hold Alt / Option button to see the mnemonics underscore.只需按住Alt / Option按钮即可查看助记符下划线。 In my case I should use Option x to enable Regex.就我而言,我应该使用Option x来启用正则表达式。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM