Refactoring matching html tags
Hello,
Is there a featue in RubyMIne 2 that allows me to refactor a matching paris html tags?
So if I had the following code:
<div>Hello World! How goes it?</div>
Putting the cursor at the d in the div tag, and typing span, would also change the matching end </div> tag to </span>.
Thanks.
H
请先登录再写评论。
Shift + F6 should do it.
Thanks for the reply Nazar. But that doesn't work for me. When I do Shift-F6, I get a check mark in the line number gutter.
Additionally, I'm using a mac book pro.
Sorry Harold. I should have mentioned that I was on Lenny.
Looks like Mac keymap settings are different.
Try Refactror (main menu) -> Rename (the menu should show the correct shortcut).
Again, HTH.
Works like a charm. Thanks Nazar!
Hi guys,
You can have a look at default keymap reference by Help | Default Keymap Reference menu item.
Please ensure that you have internet browser configured at File | Settings | Web Browsers
Regards,
Oleg