Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I after cleaning a specific file mark it as modified or any label?

In my project, There are more than 400 Java and XML files and I want to start to check all files to clean the codes (make my project more readable)

The question is how can I after cleaning a specific file mark it as modified or any label because there is a lot of files and maybe I return open the file that I clean it already

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can use tools like CheckStyle or Sonar in your project with default or custom configuration and you will get a list of the files that didn’t match your rules in the IDE, and you can refactor them, so you didn’t need to mark them, you just need to check the files on the list

CheckStyle: https://plugins.jetbrains.com/plugin/1065-checkstyle-idea

SonarLint : https://plugins.jetbrains.com/plugin/7973-sonarlint

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading