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

autoInsert enable inserts header into empty files that are not new #14

Open
mgcooper opened this issue Oct 2, 2022 · 1 comment
Open

Comments

@mgcooper
Copy link

mgcooper commented Oct 2, 2022

when autoInsert.enable is true, a header is inserted into any empty file regardless of whether the file is new (and apparently regardless of the user that created the file). For example, if I open an empty init.py file in a module I cloned from some remote repo, the header is inserted. Suggest autoInsert.enable checks for who created the file and/or when it was created and does not insert the file unless the current user created it.

@mgcooper
Copy link
Author

The header is also inserted into the interactive command window when the cursor is placed there

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