Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我浏览 cloc 的GitHub 页面时,我注意到整个脚本只包含一个文件,其中包含高达约 15000 行代码。他们是否将多个源文件修补在一起,或者只是使用一个非常好的 ide?只有一个大的源文件对我来说似乎有点不方便。
Both Håkon Hægland and AKHolland are correct. Regarding IDE, I just use vim. (Folds in vim via set foldmethod=marker simplify code navigation; each subroutine appears to me as a single line.)
set foldmethod=marker