https://www.dendron.so/ logo
Join Discord
Powered by
# questions
  • r

    runlevelrobot

    08/20/2020, 5:17 PM
    kevin: thanks man
  • r

    runlevelrobot

    08/20/2020, 5:20 PM
    Is there anyway to have root.md open automatically when I load my workspace?
  • k

    kevins8

    08/20/2020, 5:30 PM
    not exactly automatic but vscode saves the tabs you open and will reopen them when you launch the workspace. i end up pinning the root.md file (right click on the tab) so that it’s always available
  • r

    runlevelrobot

    08/20/2020, 5:41 PM
    ahhh that works
  • r

    runlevelrobot

    08/20/2020, 5:41 PM
    thx
  • r

    ric03uec

    08/20/2020, 6:12 PM
    is there a way to map
    ctrl-p
    key binding to dendron.lookup command just for markdown files. im new to vscode so not sure what'd be the best way to do it.
  • r

    ric03uec

    08/20/2020, 6:12 PM
    for some reason
    ctrl-l
    never worked on my installation. i have to always do
    ctrl-shft-p
    ->
    dendron: lookup
    -> search for files
  • k

    kevins8

    08/20/2020, 8:14 PM
    @User yep. all keybindings are remappable. docs here: https://www.dendron.so/notes/c8e99b84-8a5a-42d3-838d-3d5cdebf32e5.html
  • i

    imalightbulb

    08/22/2020, 1:05 AM
    Are there any ways that I can make a template for
    id:
    title:
    namespace:
    childeren:
    ?
  • i

    imalightbulb

    08/22/2020, 1:05 AM
    I'm lazy to type them out πŸ˜†
  • k

    kevins8

    08/22/2020, 1:05 AM
    haha, you can create a yaml snippet
  • k

    kevins8

    08/22/2020, 1:05 AM
    configure user snippets
  • k

    kevins8

    08/22/2020, 1:06 AM
    - choose
    yaml
  • k

    kevins8

    08/22/2020, 1:06 AM
    you can now visualize your schemas in a graph as well using
    Dendron: Show Schema Graph
    πŸ˜‰
  • i

    imalightbulb

    08/22/2020, 1:07 AM
    Sure! Let me try it out
  • i

    imalightbulb

    08/22/2020, 1:08 AM
    Like this? @User
  • k

    kevins8

    08/22/2020, 1:09 AM
    almost. you'll need to add brackets and quotes around the body
  • k

    kevins8

    08/22/2020, 1:09 AM
    it needs to be valid JSON
  • k

    kevins8

    08/22/2020, 1:10 AM
    Copy code
    "Daily": {
            "scope": "markdown",
            "prefix": "daily",
            "body": [
                "# Tasks",
                "",
                "# Notes",
                "",
                "# Review",
            ],
            "description": "Daily "
        },
  • k

    kevins8

    08/22/2020, 1:10 AM
    (^ example)
  • k

    kevins8

    08/22/2020, 1:10 AM
    (you can leave out scope)
  • i

    imalightbulb

    08/22/2020, 1:11 AM
    Ohh, but isn't the file is in .yml? why it needs to be JSON?
  • k

    kevins8

    08/22/2020, 1:11 AM
    the snippet file is json
  • i

    imalightbulb

    08/22/2020, 1:11 AM
    I don't know much about yml and JSON either πŸ˜…
  • k

    kevins8

    08/22/2020, 1:11 AM
    that's a vscode thing
  • k

    kevins8

    08/22/2020, 1:12 AM
    you can use this to help you create snippets
  • k

    kevins8

    08/22/2020, 1:12 AM
    https://marketplace.visualstudio.com/items?itemName=tariky.easy-snippet-maker
  • i

    imalightbulb

    08/22/2020, 1:16 AM
    Seems correct now
  • k

    kevins8

    08/22/2020, 1:17 AM
    yep. you can also use https://jsonlint.com/ to check your json
  • k

    kevins8

    08/22/2020, 1:17 AM
    were you able to create your snippet?
1...161718...757Latest