cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How do I un-comment out DITA code that I commented out with Insert > Comment?

sfogel
1-Visitor

How do I un-comment out DITA code that I commented out with Insert > Comment?

Hi, all. Sometimes I want to comment out my DITA code with XML comments (Insert > Comment.)  But when it's time to uncomment it out without going to the untagged view, I'm stumped. What's the easy way to do this?

Thx

Steve

ACCEPTED SOLUTION

Accepted Solutions
pnagai
12-Amethyst
(To:sfogel)

‌there is a keyboard shortcut that will remove them if your cursor is inside the comment. I can't remember whether it is specific to comments or whether it's the same one that strips elements. If it doesn't show up on the menu, type "show fullkeymap" on the command line.

View solution in original post

3 REPLIES 3
pnagai
12-Amethyst
(To:sfogel)

‌there is a keyboard shortcut that will remove them if your cursor is inside the comment. I can't remember whether it is specific to comments or whether it's the same one that strips elements. If it doesn't show up on the menu, type "show fullkeymap" on the command line.

Hi Steve--

Paul's right, it's just the regular "delete markup" function. Ctrl-Shift-X, or Edit->Uncomment from the menus will do the trick. You can also click the corresponding toolbar button, which looks like a tag marker with a big red X over it.

--Clay

rdiaz
12-Amethyst
(To:sfogel)

Hi Steve,

Were you able to resolve this with the above comments?

Please let us know if you are still having problems, otherwise feel free to mark an answer as correct and keep the community strong.  Thanks!

Announcements

Top Tags