-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I have python files.
I need to add headers to it.
Following is my settings for the extensions:
"fileHeaderComment.parameter":{
"*":{
// "commentbegin": "/*",
// "commentprefix": " *",
// "commentend": " */",
"company": "My Company.",
"license_text" : [ "Contains trade secrets of My Company",
"Copyright notice does not imply publication.",
"Decompilation or disassembly of this software is strictly prohibited."]
}
},
"fileHeaderComment.template":{
"*":[
"${commentbegin}",
"${commentprefix} Copyright: ${company}, ${year}. All rights reserved.",
"${commentprefix} ${license_text}",
"${commentend}"
]
}On running the command the format of comment added is as follows:
'''
� Copyright: My Company, 2020. All rights reserved.
� Contains trade secrets of My Company.
�Copyright notice does not imply publication.
�Decompilation or disassembly of this software is strictly prohibited.
'''The comments are written as strings.
Metadata
Metadata
Assignees
Labels
No labels