Skip to content

Instantly share code, notes, and snippets.

@tgzw
Created September 3, 2022 09:17
Show Gist options
  • Select an option

  • Save tgzw/a20d8e99777fb37e18130126f7d91771 to your computer and use it in GitHub Desktop.

Select an option

Save tgzw/a20d8e99777fb37e18130126f7d91771 to your computer and use it in GitHub Desktop.
C vscode snippet to add a header documentation section with the filename, your name and the current date
{
"Documentation section": {
"prefix": "/*doc",
"body": [
"/*",
" $TM_FILENAME_BASE",
" Author: tgzw",
" Date : $CURRENT_YEAR-$CURRENT_MONTH-${CURRENT_DATE}",
"*/"
],
"description": "Brief documentation section"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment