Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve snippets (placeholders, names, commands) #30

Open
wookiefriseur opened this issue Oct 28, 2022 · 0 comments
Open

Improve snippets (placeholders, names, commands) #30

wookiefriseur opened this issue Oct 28, 2022 · 0 comments

Comments

@wookiefriseur
Copy link

Great extension, very useful. Let's make it even better. 😃

Some Ideas

  1. would be cool if we could use advanced snippet features in timeblock* and timetrack*
  2. 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 for timeblockchunk
  1. there are too many snippets
  • for instance we could remove timeblockrow and timeblocknote and add those to timeblockchunk
  1. some snippets could be made available to BuJo comand palette and be added as a keybinding
  • timeblockchunk (for instance Shift + Alt + C
  1. 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

bujo_timeblock_snippet.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}        |",
      "|             |               |"
    ]
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant