Open radkomoder opened 2 weeks ago
I already changed the way it works to suit our needs.
The modified code are last 2 lines in formatUsesSection
:
const formattedUnits = units.sort(sortFun).join(`${lineEnd}${separator}, `);
return `uses${lineEnd}${separator}$ ${formattedUnits}${lineEnd}${separator};`;
Thanks for a nice plugin!
At our team we use a specific uses format, which changes only one line when new uses is added, and it helps a lot with conflicts when merging different branches. When doing blame, each line is directly linked to the commit when the unit was introduced.
Our format is:
Is there a way we can edit the code template ourselves?