Ruslan Lopez Carro created NETBEANS-3514:
--------------------------------------------

             Summary: xml comments trough comments button on editor
                 Key: NETBEANS-3514
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3514
             Project: NetBeans
          Issue Type: New Feature
          Components: xml - Text-Edit
            Reporter: Ruslan Lopez Carro


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...
{code:xml}
    <some> xml </some>
{code}
To avoid problems you might want to encode the < and > as
{code:xml}
    <!-- &lt;some&gt;xml &lt;/some&gt; -->
{code}
and group comments:
  
{code:xml}
  <some>
      <thing>Foo</thing>
  </some>
{code}
as
{code:xml}
  <!-- &lt;some&gt; -->
      <!-- &lt;thing&gt;Foo&lt;/thing&gt; -->
  <!--&lt;/some&gt; -->
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to