From 0227615cb2ce9d410d50bc1cf79867bf58ceb210 Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov <di@noties.io> Date: Wed, 29 Jul 2020 15:05:55 +0300 Subject: [PATCH] Sample, generated id README section --- app-sample/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app-sample/README.md b/app-sample/README.md index 46fad408..895b88bf 100644 --- a/app-sample/README.md +++ b/app-sample/README.md @@ -50,6 +50,14 @@ symbolic links (the `sample.json` itself and `io.noties.markwon.app.samples.*` d ./gradlew :app-s:clean :app-s:asDe ``` +## Sample id + +Sample `id` is generated manually when creating new sample. A `Live Template` can be used +to simplify generation part (for example `mid` shortcut with a single variable in `Java` and `Kotlin` scopes): + +``` +groovyScript("new Date().format('YYYYMMddHHmmss', TimeZone.getTimeZone('UTC'))") +``` ## Tests