Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Insert License Header to Multiple Files #139

Open
githubplf opened this issue Aug 30, 2023 · 0 comments
Open

Error When Insert License Header to Multiple Files #139

githubplf opened this issue Aug 30, 2023 · 0 comments

Comments

@githubplf
Copy link

Runtime environment

  • OS (version): Windows 10
  • VS Code version: 1.81.1
  • VS Code build number (if possible):
  • other extensions installed:

Behaviors

Expected behavior

Copyright header is inserted at top of all files in the selected folder.

Actual behavior

Nothing happens. Runtime status shows repeated error "Cannot read properties of undefined (reading 'document')".

Steps to reproduce the issue

  1. Select folder context menu in project.
  2. Select menu item licenser: insert license header to contents.

When attempting to apply to a single file, the error is displayed in alert dialog. The license is only applied if the file is open and currently active/selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant