Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gquittet/c605d12b64638661bc59cc5bfc46577a to your computer and use it in GitHub Desktop.
Save gquittet/c605d12b64638661bc59cc5bfc46577a to your computer and use it in GitHub Desktop.
IntelliJ insert current date live template

IntelliJ insert current date live template

  1. Go to Settings -> Editor -> Live Tempalates
  2. Click on "+" icon
  3. Name the abbreviation date
  4. Add description: Insert current date using RFC 8601
  5. Write following template text: $date$ image
  6. Edit variable and write date and the following expression: date("yyyy-MM-dd'T'HH:mm:ss.SSSZ") image
  7. Enable it for every file types image
  8. Click save and it's ok 👌
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment