Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3514

xml comments trough comments button on editor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • xml - Text-Edit
    • None

    Description

      I think I recall some time ago where XML and XML-based languages had the option in the editor to add line comments, but just in case...

          <some> xml </some>
      

      To avoid problems you might want to encode the < and > as

          <!-- &lt;some&gt;xml &lt;/some&gt; -->
      

      and group comments:
       

        <some>
            <thing>Foo</thing>
        </some>
      

      as

        <!-- &lt;some&gt; -->
            <!-- &lt;thing&gt;Foo&lt;/thing&gt; -->
        <!--&lt;/some&gt; -->
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Javatlacati Ruslan Lopez Carro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: