[oXygen-user] In-place rename
Oxygen XML Editor Support
support at oxygenxml.com
Thu Aug 23 08:33:14 CDT 2012
Hello,
Oxygen has a bunch of "Rename <this/that>" actions, but most are only
available in a specific context. If you look in the list from Options >
"Menu Shortcut Keys" it's not immediately apparent where these actions
can be used. I guess we'll have to add an additional column with the
location or provide a description.
It's usually a better idea to look for an action in the menus and then
knowing the name of that action, look for it in the "Menu Shortcut
Keys". This way it's a lot easier to determine if it's the one you are
looking for.
To clarify:
- "Rename Component" (Alt+Shift+R) from the "Refactoring" category is an
action available only when editing XSD or XSL files. It's meant to
rename schema and stylesheet components.
- "Rename" from the "XML Refactoring" is an action available only in
Author mode and allows you to quickly rename the current element. You
can find this action in the Author mode contextual menu (the second item).
- there's also a "Rename Element" action in the "XML Refactoring"
category. This is available in both Text and Author mode (contextual
menu > Refactoring > Rename Element) and is a lot more powerful in that
it allows you to rename: the current element or all the sibling elements
with the same name or all elements from the document with the same name.
To answer your question, you're not doing anything wrong. Even though
you're using the same shortcut as "Rename Component" (Alt+Shift+R) the
two actions will not collide because they are available in completely
different contexts.
Regards,
Adrian
Adrian Buza
oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com
Yves Barbion wrote:
> Hi group
>
> I try to use the in-place rename feature as follows:
>
> 1. In Author mode, I put my cursor in the text in an element.
> 2. I press ALT+SHIFT+R.
>
> However, nothing seems to happen (also when I select the element itself).
>
> When I check the menu shortcut keys for rename, I see that the
> ALT+SHIFT+R shortcut is assigned to "Rename Component" in the
> "Refactoring" Category. In this list, I also see "Rename" but in the
> "XML Refactoring" category. When I assign the ALT+SHIFT+R shortcut to
> that Rename action, it works. Is this the idea or am I doing something
> wrong here?
>
> Thanks.
>
>
> --
> Yves Barbion
> www.scripto.nu <http://www.scripto.nu>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list