IntelliJ 宏菜单
我刚刚开始在 IntelliJ 中使用宏。我录制了一些然后回放,直到我决定将键盘映射快捷方式添加到我的宏中。我转到“设置”并按 Alt+C 添加新的子地图,因为我无法编辑父地图。从那时起,不再可以从“工具”菜单访问宏,更不用说快捷方式不起作用了。我尝试从键盘映射中删除快捷键,但即使我按 Alt+R 或 Alt+L,它仍然无法将它们恢复回来。 TAB 已停止工作.. 当写入 sout +TAB 时.. 不再发生任何事情... 帮助
I've just started playing with macros in IntelliJ. I recorded several then played back until I decided to add keymap shortcuts to my macros. I went to Settings and pressed Alt+C to add a new child map because I couldn't edit the parent. Since then the macros are no longer accessible from the Tools menu, not to mention that the shortcuts don't work. I tried removing the shortcuts from the keymap but even though I press Alt+R or Alt+L, it still does not revert them back. And TAB has stopped working .. when writing sout +TAB ..nothing happens anymore... HELP
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
已排序! sout+TAB 是实时模板的一部分。
如果您打开 IDE 设置窗口,您将看到实时模板。在输出下,您应该找到 sout(将字符串打印到 System.out)。如果没有,请单击“添加”,然后键入sout 对于缩写部分,输入描述,然后对于模板文本输入 System.out.println("$END$");
我现在在 IntelliJ 中使用默认键盘映射...
认为这可能对某人有帮助...
Sorted! sout+TAB is part of live templates..
If you open the IDE Settings window, you will see Live Templates.. Under output you should find sout(Prints a string to System.out).. if not, click Add and then type sout for the Abbreviation section, type in a description and then for the template text put System.out.println("$END$");
I use the Default keymap in IntelliJ now...
Thought this might help someone...
您可以尝试使用默认的键盘映射。当您修改默认键盘映射时,系统会使用您的设置创建一个副本。
如果这不起作用,您可以尝试退出 IntelliJ 并删除此文件:
并检查该文件夹
要查找 config 文件夹的位置,您应该在 idea 的主要可执行文件所在的文件夹中查找文件:idea.properties。
查找行:
这是配置的位置。文件夹。
重新启动 IntelliJ。
复制您要删除的任何文件!
You can try to use the default keymap. When you modify the default keymap, a copy is created with your settings.
If that is not working, you can try to quit IntelliJ and to delete this file:
and check also for the folder
To find the location of the config folder you should look for the file : idea.properties in the folder where the main executable for idea is.
Look for the line:
And this is the location of the config. folder.
Restart IntelliJ.
Take a copy of any file you are going to delete!