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/11/03 13:53:10 UTC

[GitHub] [netbeans] negora opened a new issue, #4909: Allow to check and/or validate XML files on save

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

   ### Description
   
   NetBeans allows to perform certain actions when a file is saved. For example, reformatting it or removing tailing white-spaces:
   
   ![image](https://user-images.githubusercontent.com/2098654/199737660-d110ee8e-1a7b-4203-bbfa-4e358bd7f66e.png)
   
   In the specific case of XML files, I think it would be really useful to automatically check that the file is well-formed. If we could also enable/disable the validation separately, it would be even better.
   
   
   ### Use case/motivation
   
   Checking/validating XML files manually, after every edition, is repetitive and distracting. So much, that sometimes you forget to make that checks and some errors go unnoticed.
   
   
   ### Related issues
   
   This feature request is inspired by the issue #4908, in which syntax errors are not being highlighted anymore when you move the cursor to a well-formed line.
   
   If we had a feature like the one described here, I guess the impact of an issue like that would be very low, because the errors would be shown in the _Output_ panel after saving the file.
   
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
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