← Back to Upcase

Count of lines in Classes


(33volcanoes) #1

Hello Guys, somewhere on the internet, i see a talk of @benorenstein, where he talks about refactoring, and count the lines on Classes on the terminal, to view if the Classes suffer from “Large Class”, how do you do that on the terminal?

Thanks for your help!!


(Geoff Harcourt) #2

Hi @33volcanoes,

If you’re using Vim, the default configuration says the number of lines when you load a file into a buffer. Most text editors support some kind of line numbers in the gutter, it’s usually a good idea to have these enabled so that you can jump to the source of problems.