2012-07-12 67 views
0

如何关闭我正在工作的文件(在Rubymine中)?我不想点击'x'是因为我讨厌鼠标,我不想“关闭所有修改过的”我只想关闭当前拥有焦点的文件,就像我可以在任何其他程序中一样Mac按Command W.Ruymymine关闭文件快捷方式(Mac或Windows)

+0

如果它仍然不适合您,请更新问题并提供更多详细信息。 – CrazyCoder 2012-07-20 01:56:03

回答

2

我敢打赌你错过了this documentation section

快捷方式将取决于键盘映射,可定制,但是默认的是按Ctrl + F4 Windows和Cmd的 + F4在Mac上。

验证快捷方式Settings | Keymap,确保它不与其他应用程序发生冲突,请尝试将Close操作映射到其他快捷方式。它工作正常,我已经加倍检查它。

+2

不起作用 – botbot 2012-07-12 02:37:49

+1

它绝对有效,为答案增加了更多细节。 – CrazyCoder 2012-07-12 12:26:37

+0

在Mac OS 10.8上,它是Fn-Cmd-F4 for Ruby5.4 – 2013-05-22 20:22:32

0

同上CrazyCoder说的。以下是具体步骤来映射关闭并关闭所有窗口以快捷方式的RubyMine键:

Rubymine | Preferences | Keymap | Main Menu | Edit | Select Word at Caret >> Remove Keyboard Shortcut: command+W 
Rubymine | Preferences | Keymap | Main Menu | Edit | Unselect Word at Caret >> Remove Keyboard Shortcut: command+shift+W 
Rubymine | Preferences | Keymap | Window | Editor Tabs | Close >> Remove Keyboard Shortcut: command+F4 
Rubymine | Preferences | Keymap | Window | Editor Tabs | Close >> Add Keyboard Shortcut: command+W 
Rubymine | Preferences | Keymap | Window | Editor Tabs | Close All >> Add Keyboard Shortcut: command+shift+W 

详情点击这里:http://lexsheehan.blogspot.com/2013/01/fixing-close-window-keyboard-shortcuts.html

1

命令-W应先关闭当前文件中的RubyMine的当前版本( 6.2)