uctakeoff / vscode-counter

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

Not exclude dirs #86

Closed prospero78 closed 1 year ago

prospero78 commented 1 year ago

Im make in settings this block:

    "VSCodeCounter.exclude": [
        "**/.gitignore",
        "**/.vscode/**",
        "**/node_modules/**",
        "./vendor"
    ],
    "VSCodeCounter.useGitignore": true

and restart VsCode. After restart dir "vender" again in statistic. Note: this section in settings after restart VsCode im not find. (??? WTF snap installing on Ubuntu Linux ???)

uctakeoff commented 1 year ago

If you want to exclude the "vendor" directory, write as follows.

vendor/**

https://www.malikbrowne.com/blog/a-beginners-guide-glob-patterns/