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

Doesn't recognize javascript #91

Open fr-an-k opened 1 year ago

fr-an-k commented 1 year ago

It should recognize javascript (js, mjs, jsx), world's nr 1 programming language, but it doesn't... There is no explanation of where to find language extensions for this plugin; it doesn't use the ones in VSCode apparently.

This is in WSL. Output of check available languages:

cpp : aliases[], extensions[], filenames:[] javascriptreact : aliases[], extensions[], filenames:[] typescriptreact : aliases[], extensions[], filenames:[] jsonc : aliases[], extensions[.code-workspace,language-configuration.json,icon-theme.json,color-theme.json,.code-snippets], filenames:[settings.json,launch.json,tasks.json,keybindings.json,extensions.json,argv.json,profiles.json,devcontainer.json,.devcontainer.json,.eslintrc.json] json : aliases[JSON,GeoJSON,KeplerGL JSON,Topology JSON], extensions[.code-profile,.json,.geojson,.kgl,.topojson], filenames:[.prettierrc,Pipfile.lock] ignore : aliases[Ignore,ignore], extensions[.gitignore_global,.gitignore,.npmignore,.eslintignore], filenames:[.vscodeignore,.prettierignore,.dockerignore] git-commit : aliases[Git Commit Message,git-commit], extensions[], filenames:[COMMIT_EDITMSG,MERGE_MSG] git-rebase : aliases[Git Rebase Message,git-rebase], extensions[], filenames:[git-rebase-todo] markdown-math : aliases[], extensions[], filenames:[] properties : aliases[], extensions[.npmrc], filenames:[] search-result : aliases[Search Result], extensions[.code-search], filenames:[] asl : aliases[Amazon States Language], extensions[.asl.json,.asl], filenames:[] asl-yaml : aliases[Amazon States Language (YAML)], extensions[.asl.yaml,.asl.yml], filenames:[] ssm-json : aliases[AWS Systems Manager Document (JSON)], extensions[.ssm.json], filenames:[] ssm-yaml : aliases[AWS Systems Manager Document (YAML)], extensions[.ssm.yaml,.ssm.yml], filenames:[] assemblyscript : aliases[AssemblyScript,assemblyscript], extensions[.asc], filenames:[] dart : aliases[Dart], extensions[.dart], filenames:[] editorconfig : aliases[EditorConfig,editorconfig], extensions[.editorconfig], filenames:[] graphql : aliases[], extensions[.graphql], filenames:[] vue : aliases[], extensions[.vue], filenames:[] handlebars : aliases[], extensions[.hbs,.handlebars], filenames:[] dockerfile : aliases[Dockerfile], extensions[], filenames:[] jinja : aliases[Jinja], extensions[.j2,.jinja2], filenames:[] pip-requirements : aliases[pip requirements,requirements.txt], extensions[], filenames:[constraints.txt,requirements.in,requirements.txt] yaml : aliases[], extensions[], filenames:[.condarc] ini : aliases[], extensions[], filenames:[.flake8,.pep8,.pylintrc,.pypirc] toml : aliases[TOML], extensions[.toml], filenames:[Pipfile,poetry.lock,Cargo.lock] peggy : aliases[Peggy,peggy,PEG.js,pegjs,peg.js], extensions[.peggy,.pegjs], filenames:[] csv : aliases[CSV], extensions[.csv], filenames:[] fgb : aliases[FlatGeobuf], extensions[.fgb], filenames:[] gml : aliases[GML], extensions[.gml], filenames:[] gpx : aliases[GPX], extensions[.gpx], filenames:[] igc : aliases[IGC], extensions[.igc], filenames:[] xml : aliases[XML], extensions[.xml,.gml,.kml], filenames:[] shp : aliases[Shapefile], extensions[.shp], filenames:[] wkt : aliases[Well-Known Text], extensions[.wkt], filenames:[] java : aliases[], extensions[.java,.class], filenames:[] java-properties : aliases[Java Properties], extensions[.properties], filenames:[] ra_syntax_tree : aliases[], extensions[.rast], filenames:[] rust : aliases[Rust,rs], extensions[.rs], filenames:[] cmake : aliases[CMake], extensions[.cmake], filenames:[CMakelists.txt] cmake-cache : aliases[CMake Cache], extensions[], filenames:[CMakeCache.txt] VS Code Counter : available all 42 languages.

uctakeoff commented 1 year ago

see https://github.com/uctakeoff/vscode-counter/issues/43 https://github.com/uctakeoff/vscode-counter/issues/26