Open SeriousBug opened 2 years ago
It also would be nice to have an option to ignore certain types of files, like svg
files which I wouldn't want to add license information into.
It also added license information to files that it really shouldn't, like Cargo.toml
, .vscode/settings.json
, LICENSE.txt
, app.json
and such. The `json' files are especially bad because not all json parsers support comments.
It also would be nice to have an option to ignore certain types of files, like
svg
files which I wouldn't want to add license information into.It also added license information to files that it really shouldn't, like
Cargo.toml
,.vscode/settings.json
,LICENSE.txt
,app.json
and such. The `json' files are especially bad because not all json parsers support comments.
Exactly this I wanted to mention as well ... it would be nice to exclude certain file types, especially JSON files ...
Please make sure to use this template to report issue. Any issue report that does not follow this template will be ignored.
Runtime environment
You can confirm installed extensions by calling "Extensions: Show Installed Extensions", or just click extensions tab in the case you are using VS Code 1.3+.
Behaviors
Expected behavior
The "Insert license headers to all files in the workspace" should only add headers to files that are in the workspace proper, and not to folders like
node_modules
ortarget
(rust build directory). I have these folders in.gitignore
.Actual behavior
Licenser tries to apply the header to these files as well. This causes the process to take very long and also means
Steps to reproduce the issue
node_modules
will have the header too.