Skip to content

Simple powershell script that will go through your project counting the lines and returns the result to you

License

Notifications You must be signed in to change notification settings

miskamero/count-code-lines

Repository files navigation

Count Code Lines

GitHub license

NOTE: Node.js and PowerShell is required to use this script.

Table of Contents

Description

The "countlines" - extension for VSCode counts the lines of code in the current file and displays the result in a terminal window.

Currently supported languages are:

  • Python
  • JavaScript
  • JavaScript (React)
  • TypeScript
  • TypeScript (React)
  • CSS
  • SCSS
  • HTML
  • C#
  • C
  • C++
  • C Header
  • PHP
  • Java
  • Go
  • Ruby
  • Rust
  • Swift
  • Kotlin
  • Lua
  • Shell Script
  • Batch Script
  • PowerShell

Usage

VSCode extension

  1. Press Ctrl + Shift + P
  2. Type Count Code Lines
  3. Press Enter

Keyboard shortcut

If you have the extenion installed, you can press Ctrl + Alt + Z to count the lines of code in the current file. The default keyboard shortcut can be changed in the VSCode settings.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

Simple powershell script that will go through your project counting the lines and returns the result to you

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published