FileHeader
FileHeader copied to clipboard
creating a new file when the template contains a {{file_name}} causes it to be undefined
eg: create the file "Python.tmpl" in your custom header folder (refer to FileHeader sublime settings for custom header, or set it yourself) with contents
# -*- coding: utf-8 -*-
# @File Name: {{file_name}}
# @Author: {{author}}
# @Date: {{create_time}}
# @Last Modified by: {{last_modified_by}}
# @Last Modified time: {{last_modified_time}}
right click > FileHeader > New File name it "test_fileheader.py" and observe that the file says undefined in place of the file name
I'm unable to reproduce this error with ST 3126 and release 2.0.4 of FileHeader