Search code examples
intellij-ideapycharm

How to count lines of code (LOC) using IntelliJ IDEA?


title says everything plus: - development language Lua - code revision control system - Perforce (integrated with IntelliJ IDE)


Solution

  • You can either turn on the display of lines of code for a single file by right clicking in the left gutter and highlighting "display lines of code". Or you can do it for your entire project by downloading the Statistic plug-in. It's very nice indeed, because it shows LOC and other metrics for your entire project.