-
Notifications
You must be signed in to change notification settings - Fork 74
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
file_name inserted in first line #63
Comments
could you provide the language you were using and the contents of the header/template file? |
it was with c++ language files (extensions c/cc/h/hh) |
sorry i can't reproduce the issue.
and my tmpl file "C++.tmpl"
and the command was just a simple Add Header to an existing file. |
I just noticed this issue w/ a custom Python template. I overrode the default Python template with a simpler one in my User plugins folder (also named
Ctrl+super+a adds the template to an open file correctly. However, switching to a different file in the editor (or perhaps returning to the initial) seems to trigger the bug. The issue does seem to be related to the |
If {{file_name}} is inserted in the header template, no matter which line, when opening an existing file, the first line is substituted with the line from the header template containing {{file_name}}
The text was updated successfully, but these errors were encountered: