VS Code extension: counts blank lines, comment lines, and physical lines of source code in many programming languages.
- Count the code lines of source code in workspace or directory.
- Count the code lines of the current file in real time.
Count in workspace
Count in any directory
Check available languages
VSCodeCounter.showInStatusBar: Whether to show the count result of the current file on the status bar in real time.
VSCodeCounter.useGitignore: Whether to use '.gitignore' files for excluding files.
VSCodeCounter.useFilesExclude: Whether to use setting 'files.exclude' for excluding files.
VSCodeCounter.printNumberWithCommas: Whether to print a number with commas as thousands separators.(except for CSV)
VSCodeCounter.ignoreUnsupportedFile: Ignore unsupported files.
VSCodeCounter.endOfLine: A new line character to be used in the output file.
VSCodeCounter.include: Configure glob patterns for including files and folders.
VSCodeCounter.exclude: Configure glob patterns for excluding files and folders.
VSCodeCounter.outputDirectory: Directory path for outputting results.
VSCodeCounter.outputAsText: Whether to output the result as a text file.
VSCodeCounter.outputAsCSV: Whether to output the result as a CSV file.
VSCodeCounter.outputAsMarkdown: Whether to output the result as a Markdown file.
VSCodeCounter.outputPreviewType: Type of output file to preview after counting. Choose from
VSCodeCounter.blockComment: Define patterns indicating the beginning and end of the block document(here document).