Ask HN: How do I get the most frequent templates from a project's source code?

1 points by aladine ↗ HN
I usually create a lot of code templates based on generic pattern(example for i:=0; i<n; i++) then create a shortcut for it in my IDE. If you used IntelliJ, it is called live template.

Since I want to optimize further in my work flow, is there any tool to analyze my project's source code. I want to find out the most frequent code templates from a project's source code.

1 comment

[ 3.1 ms ] story [ 10.5 ms ] thread