TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

1 pointsby aladineabout 6 years ago
I usually create a lot of code templates based on generic pattern(example for i:=0; i&lt;n; i++) then create a shortcut for it in my IDE. If you used IntelliJ, it is called live template.<p>Since I want to optimize further in my work flow, is there any tool to analyze my project&#x27;s source code. I want to find out the most frequent code templates from a project&#x27;s source code.

1 comment

lm28469about 6 years ago
<a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1205&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1205&#x2F;</a>