Couple questions
I'm using RubyMine 1.1.1 on OS X
Many keyboard shortcuts don't work for me. I am using the "Textmate" keymap. In an rspec file, for example, I expect "command-r" to run the whole file and "command-shift-r" to run the specific spec I'm currently in, but neither seem to work for me. Two questions:
A. Am I missing something?
B. Is there a "Cheatsheet" of keyboard shortcuts somewhere?
Is there a way to rename a file?
Is there anyway to re-order tabs at the top of the editor?
When I run the full "rake spec" suite, is there a way, in the visual runner, to run only a single spec (one that failed) again in a new tab in the run drawer? I have accidently had multiple tabs in the "run" drawer, but I can't seem to do it when I want to.
Is there a shortcut to reveal the current file in the file browser?
I want to create a live template so that when I type "%-tab" it inserts "<% %>" and when I insert "%=-tab" it inserts "<%= %>". However, it doesn't seem that you can use % in the shortcut. Is there a way around that?
Is there a way to scope the abbreviations to a context? "if" in ruby should be different than "if" in rhtml. But I can't seem to do that.
Thanks!
请先登录再写评论。
Hi,
We have pdf cheatsheets only for our default keymaps. RubyMine usually show shortcuts near action name in main menu or using tool tip for buttons.
Command+R executes current active run configuration
and ^+Shift+F10 - current file under cursor. Your are right we forgot to remap "Run Context Configuration" action to Command+Shift+R and the same problem with debug shortcut.
I've filed an isseu http://www.jetbrains.net/jira/browse/RUBY-4484. If you now about other bugs in our TextMate keymap please write them in comments for the issue.
As a workaround go to File | Settings | Keymap, save bundled TextMate keymap with another name. Now you can remap any shortcut.
Yes, Refactor | Rename or Shift+F6
Yes, File | Settings | Editor | Editor Tabs, select "Show tabs in single line", now you can re-order them using mouse.
Also I recommend you to try "TabSwitch" plugin or use our View | Recent Files action
Yes, using context menu, see screenshot
No. But RubyMine allows to open file from editor in Finder using mouse
Or you can copy full path of a file.
Unfortunately it isn't possible yet. For <%= %> you can use Command+Shift+. or type "<" and press ^+space (in Erb)
Yes, see "Context" box in live template details.