SHIT HAPPEN COUNTER:
I use IDE to automate boring parts like code format and cleanup imports.
Format code/optimise important works great for Java/ Spring Framework projects
While I was changing the code in projects that use Python, PHP, Symphony. I used to format code/optimise import feature during commit that removes imports that were required and
- The project was unable to compile
- One of the pages didn't work
and commit without using automatically format code/optimise import feature.
This project does not have UI tests since I discover a problem during manual testing on dev environment.
WHAT I LEARNT:
DO NOT USE Format code/optimise import in non-Java projects and double check what was published on git before request pair review