autoclose a tag after /
Are you missing a feature? Request its implementation here.
autoclose a tag after /
While editing a tag if you are outside an attribute value and if you hit '/' then the tag should be closed. This means that an extra '>' should also be inserted.
Marius
Marius
Hi Marius,
In general when you edit with oxygen the start tag is entered with the ending ">". With the default settings also the end tag is inserted so after a content completion operation on an element containing attributes one gets something like:
<element|></element>
where | stands for the caret placement.
Now hitting / will give:
<element/>
with </element> automatically removed.
If you think there is a frequent usage scenario for adding a > automatically when / is entered let us know.
Best Regards,
George
In general when you edit with oxygen the start tag is entered with the ending ">". With the default settings also the end tag is inserted so after a content completion operation on an element containing attributes one gets something like:
<element|></element>
where | stands for the caret placement.
Now hitting / will give:
<element/>
with </element> automatically removed.
If you think there is a frequent usage scenario for adding a > automatically when / is entered let us know.
Best Regards,
George
Yes, I know about the behavior you are describing and it is quite nice.
The one I am suggesting is more natural and saves one key stroke. Why would you type '>' and then '/' when what you need is '/>'?
I found this auto insert of '>' after '/' in some other editor (IDEA) and found it very useful.
Marius
The one I am suggesting is more natural and saves one key stroke. Why would you type '>' and then '/' when what you need is '/>'?
I found this auto insert of '>' after '/' in some other editor (IDEA) and found it very useful.
Marius
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service