Recently, I was editing our Gitlab CI pipeline. In our repositories we use Makefiles to define common actions (like building docker image or deploying onto production environment). To be exact, these actions are defined as phony targets in Makefile terminology.
While doing my task, I tried, several times, to invoke the auto-format command as I usually would when coding but every time I did it a message popped saying no formatter was installed for Makefiles. I remember searching for some extension, but nothing I found on the subject. That is a real frustration for any obsessive developer. 🤦
Since Makefiles are among common tools for project automations, I think it’s a good idea to develop a Makefile formatter extension for VS Code or any other popular IDE/editor.
About Regular Encounters
I’ve decided to record my daily encounters with professional issues on a somewhat regular basis. Not all of them are equally important/unique/intricate, but are indeed practical, real, and of course, textually minimal.