bujo
bujo copied to clipboard
Improve snippets (placeholders, names, commands)
Great extension, very useful. Let's make it even better. 😃
Some Ideas
- would be cool if we could use advanced snippet features in
timeblock*
andtimetrack*
- the snippet prefixes are a bit too long and not unique enough
- right now you have to type a lot to get to a specific snippet, could be more concise
- my length workaround right now is to just type short hand versions and hope it works.. like
tbch
fortimeblockchunk
- there are too many snippets
- for instance we could remove
timeblockrow
andtimeblocknote
and add those totimeblockchunk
- some snippets could be made available to BuJo comand palette and be added as a keybinding
-
timeblockchunk
(for instanceShift + Alt + C
- separate command just for adding rows to current table (with keybind)
- could add columns depending on table size or 3 columns by default
Example for snippets
https://user-images.githubusercontent.com/8905319/198732296-b7f26a0c-8ca5-45eb-9b55-5845b72e75e7.mp4
Snippet from the video:
"bujo timeblocktable": {
"prefix": "bujoBlocktable",
"body": [
"| Time | Block |",
"| ----------: | :------------ |",
"| (${1:00}:${2:00}) | (${3:Revision} #${4:1}) |",
"| | |",
"| ${5:00}:${6:00}-${7:00}:${8:00} | ${9:Chunk} |",
"| | - ${10:Note} |",
"| | |"
]
}