Skip to content

Commit ca668b7

Browse files
authored
Merge pull request rafamadriz#343 from surmish/patch-1
Add current date automatically to a TCL proc comment block.
2 parents 6e0afe3 + 1bb5413 commit ca668b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snippets/tcl.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@
413413
"################################################################################",
414414
"#",
415415
"# Author: ${1:Author}",
416-
"# Date: ${2:Date}",
417-
"# Description: ${3:Description}",
416+
"# Date: ${CURRENT_MONTH}/${CURRENT_DATE}/${CURRENT_YEAR}",
417+
"# Description: ${2:Description}",
418418
"#",
419419
"# Arguments:",
420-
"# * ${4:`argument_name`} - ${5: description.}",
420+
"# * ${3:`argument_name`} - ${4: description.}",
421421
"#",
422422
"################################################################################",
423423
"$0"

0 commit comments

Comments
 (0)