IntelliJ IDEA:不能输入{和[ [英] IntelliJ IDEA: Can't type { and [

查看:825
本文介绍了IntelliJ IDEA:不能输入{和[的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我有一个问题,在IntelliJ IDEA中我无法键入In

So I have a problem where in IntelliJ IDEA I can't type In

<br>{ --(Alt Gr + B or Ctrl + Alt + B)  

[ --(Alt Gr + F or Ctrl + Alt + F)  
<br>

我确实尝试编辑快捷方式,但没有与提到的快捷方式匹配的快捷方式
当我尝试使用SquareBrackets时,会收到如下消息:无法执行重构.插入符号应位于要重构的局部变量或表达式的名称上"

I did try to edit shortcuts but there are no shortcuts that match mentiond ones
And when I try using SquareBrackets I get a message a little bit like this: "Cannot perform refactoring. Caret should be positioned at the name of local variable or expression to be refactored"

如何解决此问题?

推荐答案

我找到了两个问题的解决方案,所以这里是解决方案:

Guys I found a solution to BOTH of the problems So here are the solutions:

这适用于:
没有[{键的键盘(我只有英式英语的那些键)
和IntelliJ IDEA Deafult KeyMap(可能适用于其他软件)

This applies for:
KeyBoards Without [ and { keys (I just English-UK ones have those keys)
and IntelliJ IDEA Deafult KeyMap (May work for some others)

对于无法在IntelliJ IDEA中键入[]":
1.按Ctrl + Alt + SAlt Gr + S或转到:文件">设置">"KeyMap
". 2.扩展文件夹:Main Menu,然后是文件夹Refactor,然后是文件夹Extract
3.右键单击字段...
4.在弹出菜单中,单击删除Ctrl + Alt + F

For the "Can't type [ in IntelliJ IDEA":
1.Press Ctrl + Alt + S ,Alt Gr + S or Goto: File > Settings > KeyMap
2.Extend Folder:Main Menu, then folder Refactor and THEN folder Extract
3.Right-Click onto Field...
4.In the pop-up menu Click on Remove Ctrl + Alt + F

对于无法在IntelliJ IDEA中键入{":
1.按Ctrl + Alt + SAlt Gr + S或转到:文件>设置> KeyMap
2.扩展文件夹:Main Menu,然后扩展文件夹Navigate和THEN文件夹Bookmarks
3.右键单击实现
4.在弹出菜单中,单击删除Ctrl + Alt + B

希望对您有帮助:D

For the "Can't type { in IntelliJ IDEA":
1.Press Ctrl + Alt + S ,Alt Gr + S or Goto: File > Settings > KeyMap
2.Extend Folder:Main Menu, then folder Navigate and THEN folder Bookmarks
3.Right-Click onto Implementation(s)
4.In the pop-up menu Click on Remove Ctrl + Alt + B

Hope that helped You :D

这篇关于IntelliJ IDEA:不能输入{和[的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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