This package provides support for working with klog time tracking files in the Sublime Text editor.
- Syntax highlighting
- Smart completion for inserting the current date or time. For example:
- Typing
todaycompletes to the current date - Typing
nowcompletes to the current time
- Typing
- A few sensible default settings for the
.klgfile format
The pre-defined syntax highlighting should look meaningful in most available colour schemes.
For klog-specific customisations, you can specify the following colour overrides:
markup.other.date.klogFor the date, e.g.2022-03-15markup.other.should_total.klogFor the should total, e.g.(8h!)markup.other.summary.klogFor summary textmarkup.other.summary.tag.klogFor tags inside summaries, e.g.#workmarkup.other.duration_positive.klogFor positive durations, e.g.5h25mmarkup.other.duration_negative.klogFor negative durations, e.g.-15mmarkup.other.range.klogFor ranges, e.g.8:00 - 9:20markup.other.open_range.klogFor open ranges, e.g.14:30 - ?
You can achieve this by adding entries (see Sublime docs) to the rules list of your scheme’s customisation file:
"rules": [
{"scope": "markup.other.range.klog", "foreground": "#76c7ff"},
]
