TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 aladine大约 6 年前
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

lm28469大约 6 年前
<a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1205&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1205&#x2F;</a>