How to count LOC with Notepad++
Do you know that Notepad++ can be used to count LOC in your source code file? This step-by-step guide will help you.
-
Published by Kunal Chowdhury
on 04 August, 2022
Visual Studio has a nice feature to calculate the Lines of Code (LOC) in source files. But do you know that you can also use Notepad++ to find the Lines of Code (LOC) in your source files in a directory? Here we will show you how to do it.

To find the LOC of your source files using Notepad++, you can follow the steps mentioned below:

Solution Architect & Former Microsoft MVP
Kunal Chowdhury is an enterprise solution architect and former multi-year Microsoft MVP. He is the author of three technical books: Windows Presentation Foundation Development Cookbook, Mastering Visual Studio 2017, and the Mastering Visual Studio 2019.
He publishes technical articles on Kunal-Chowdhury.com.