uctakeoff / vscode-counter

VS Code extension: counts blank lines, comment lines, and physical lines of source code in many programming languages.
MIT License
152 stars 20 forks source link

Moving extension ".h" from "C++" to "C" in settings.json, it gets put back to "C++" automatically #69

Closed bengalack closed 2 years ago

bengalack commented 2 years ago

Using current version in Marketplace. When I move extension ".h" from "C++" to "C" in settings.json, it gets put back to "C++" for no reason. I do not have any C++ in my project, and any .h-file is a C-file to me, and I want it counted as such.

It seems like a bug to me, but maybe I do something wrong?

uctakeoff commented 2 years ago

I have never met such a problem. I do not think it is a problem with VSCodeCounter. https://code.visualstudio.com/docs/languages/identifiers