You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/05/09 11:51:08 UTC

[GitHub] [netbeans] marsianer opened a new issue, #4090: JavaDoc HTML Comments (Pretty-Print)

marsianer opened a new issue, #4090:
URL: https://github.com/apache/netbeans/issues/4090

   ### Description
   
   Netbeans always makes a left-trim on JavaDoc comments. 
   In case of HTML syntax this is very annoying.
   
   Can this disable?
   ```
   <table>
   <tr>
   <th>Header A</th>
   <th>Header B</th>
   </tr>
   <tr>
   <td>Data A</td>
   <td>Data B</td>
   </tr>
   </table>
   ```
   vs.
   ```
   <table>
       <tr>
           <th>Header A</th>
           <th>Header B</th>
       </tr>
       <tr>
           <td>Data A</td>
           <td>Data B</td>
       </tr>
   </table>
   ```
   
   ### Use case/motivation
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] marsianer commented on issue #4090: JavaDoc HTML Comments (Pretty-Print)

Posted by GitBox <gi...@apache.org>.
marsianer commented on issue #4090:
URL: https://github.com/apache/netbeans/issues/4090#issuecomment-1137234892

   Is there a reason for this behavior?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] JoachimRohde commented on issue #4090: JavaDoc HTML Comments (Pretty-Print)

Posted by GitBox <gi...@apache.org>.
JoachimRohde commented on issue #4090:
URL: https://github.com/apache/netbeans/issues/4090#issuecomment-1136967715

   If you are using the pre tag NetBeans won't left-trim your JavaDoc:
   
     ```
     /**
        * <pre>
        *   <table>
        *    <tr>
        *        <th>Header A</th>
        *        <th>Header B</th>
        *    </tr>
        *    <tr>
        *        <td>Data A</td>
        *        <td>Data B</td>
        *    </tr>
        *	</table>
        * </pre>
        */
   ```
   	 
   Drawback: the lines needs to be prefixed with a star. If you just copy your HTML into the JavaDoc and reformat your code Netbeans will prefix your JavaDoc with stars and left-trim it at the same time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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