Auto closing tags

Are you missing a feature? Request its implementation here.
adamv

Auto closing tags

Post by adamv »

This is a feature from products like stylus studio that I always really liked.

Simply close the current tag whenever I type </ (or maybe </{tab}). I know the code insite does something like this but I just noticed that it doesn't happen when I don't have a DTD or schema. I write too many adhoc XML documents for that not to be annoying.

A
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Adam,

Oxygen will always offer you the closing tag, XML comment and CDATA entries in the content completion list. For instance if you have something like
<?xml version="1.0" encoding="UTF-8"?>
<x>
pressing < will show in the completion popup the following items:
  • /x>
  • ![CDATA[]]>
  • !-- -->
I write too many adhoc XML documents
You may try the learn document structure action that will learn the tags and attributes from your partially edited document and offer you code completion proposals based on that.

Best Regards,
George
Post Reply