DEV Community

Timo Reusch
Timo Reusch

Posted on

Get the lines of code in your JetBrains IDE (quick)

Some stats about a project are always interesting. There used to be an IntelliJ plugin offering exactly that, but unfortunately, it seems like it is not actively maintained any longer.

A quick and elegant solution on Macs and Linux devices is running the following command from your project root:

find . -name '*.<fileType>' | xargs wc -l
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Announcing the First DEV Education Track: "Build Apps with Google AI Studio"

The moment is here! We recently announced DEV Education Tracks, our new initiative to bring you structured learning paths directly from industry experts.

Dive in and Learn

DEV is bringing Education Tracks to the community. Dismiss if you're not interested. ❤️