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

    Pymous

    07/18/2022, 3:09 PM
    I've opened a request : https://github.com/dendronhq/dendron/issues/3262
  • p

    Pymous

    07/18/2022, 3:10 PM
    Run on Save doesn't work in that case, because it literally executing command, as in a shell, so
    dendron.addAndCommit
    //
    dendron.sync
    are not available
  • h

    hikchoi

    07/18/2022, 3:16 PM
    There might be a way create a VSCode task (which lets you run a vscode command using the command uri like so
    "command": "${command:dendron.addAndCommit}"
    ), and trigger that task on save. It's a lot of work but in the meantime this could be an interim solution 😅
  • p

    Pymous

    07/18/2022, 3:59 PM
    Your syntax seems invalid (per the output of the extension log), but I'll look into it tomorow, maybe we can trick him into thinking he's inside VSCode
  • h

    hikchoi

    07/18/2022, 4:02 PM
    here's how you run a vscode command within a task fyi: https://stackoverflow.com/questions/57470525/how-can-i-run-a-vscode-command-as-a-task about tasks: https://code.visualstudio.com/docs/editor/tasks Apologies if I was a bit misleading.
  • p

    Pymous

    07/18/2022, 4:06 PM
    Oh, ok ! I didn't knew about Tasks and that you were talking about that. It seems you can't trigger Tasks on save by default, but this extension might do it https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.triggertaskonsave I will look into it tomorow, when I can, if it works, I'll answer you on my request on Github to provide a way to do it, for other if needed, until you add it in Dendron ( 😉 )
  • p

    Pymous

    07/18/2022, 4:06 PM
    Thanks for your help !
  • s

    seadude

    07/18/2022, 4:53 PM
    Hey everyone.
    crtl+l
    recently stopped for me to create a new Dendon note. Also, there is no longer a
    Dendron: New
    command. Last time I used it was ~7/3. I get some "error-ish" notices when I open VSCode (shown here). VSCode version: 1.69.1. Can you remind me of the troubleshooting steps to address? Thank you
  • j

    johndendron29

    07/18/2022, 5:26 PM
    @seadude , kindly check your installed extensions and uninstall Dendron Markdown Links. This extension has been deprecated.
  • s

    seadude

    07/19/2022, 12:35 PM
    Hm...
    Dendron Markdown Links
    is not in Extensions...
  • j

    Joshi

    07/19/2022, 12:36 PM
    can you filter by @installed and see if it is present
  • s

    seadude

    07/19/2022, 12:37 PM
    Aha!
  • s

    seadude

    07/19/2022, 12:38 PM
    Thanks @Joshi and @johndendron29 , uninstalling that extension worked. Now
    ctrl+l
    creates a new note. Good day!
  • j

    jos

    07/19/2022, 3:08 PM
    is there a way to do backups automatically with dendron?
  • j

    jos

    07/19/2022, 3:09 PM
    like a version history for each node
  • r

    rlh1994

    07/19/2022, 3:31 PM
    I think that latest version of VSCode has a local file history?
  • a

    aleksey

    07/19/2022, 3:48 PM
    like @rlh1994 said, VSCode has local history now: https://code.visualstudio.com/updates/v1_66#_local-history
  • k

    kzilla

    07/19/2022, 4:04 PM
    Dendron Markdown Links doesn't show in my @installed extensions and I still have the same warning.
  • j

    jyeung

    07/20/2022, 6:29 AM
    if you open up your
    dendron.code-workspace
    file, do you see any reference to Dendron Markdown Links in the bottom section under extensions/recommendations or extensions/unwantedRecommendations? If a reference exists, try removing it and see if the warning goes away:
    Copy code
    json
        "extensions": {
            "recommendations": [
                "dendron.dendron-paste-image",
                "dendron.dendron-markdown-shortcuts"
            ],
            "unwantedRecommendations": [
                "dendron.dendron-markdown-notes",
                "shd101wyy.markdown-preview-enhanced",
                "kortina.vscode-markdown-notes",
                "mushan.vscode-paste-image"
            ]
        }
  • s

    spex66

    07/20/2022, 10:10 AM
    thx for report @seadude and others to help fixing it! 🙏 Saved my day now, as I was terrified by a broken Dendron this morning! (and realized how dependent I got on "Dendron: Create Daily Journal"!)
  • l

    Lodra

    07/20/2022, 3:22 PM
    Hi I'm evaluating Dendron for myself/team and have a question about if I can use it in a particular way I'd like to have a vault (I think?) that's accessible at all times, regardless of the workspace that's currently open in VSCode i.e. I would like switch to and from many workspaces yet always have the same Dendron notes available is this possible?
  • s

    shchepin

    07/20/2022, 3:32 PM
    Hello! I have a strange question! I know, that the Dendron's concept - to reuse an existing VSC environment and it's plugin mechanism, but.. I think, that VSC functionality is too redundant for Dendron itself. Have you ever thought to clone it and to make Dendron as a self-alone application?
  • l

    Lodra

    07/20/2022, 3:34 PM
    Interestingly, your question may be related to mine 🙂
  • h

    hikchoi

    07/20/2022, 3:44 PM
    If your vault is hosted remotely, each of the workspace you want to access the notes can have Dendron initialized and have the notes available.
  • s

    shchepin

    07/20/2022, 3:46 PM
    An another question: does Dendron core have any open API?
  • h

    hikchoi

    07/20/2022, 3:46 PM
    At the moment we are focusing on developing Dendron within the VSCode ecosystem, but we are constantly seeking for ways to expand outwards.
  • h

    hikchoi

    07/20/2022, 3:51 PM
    We do have an API, as our extension communicates with a local engine that runs in the user's machine, but this is an internal API. We are in the process of cleaning this up so in the future we can provide a stable public API for users to tap into.
  • s

    shchepin

    07/20/2022, 3:54 PM
    Thx! It will be much easier to create compatible plugins using any API. :)
  • h

    hikchoi

    07/20/2022, 4:00 PM
    I agree. We are planning on using prisma + express for this, and have it OpenAPI/Swagger compliant.
  • s

    ScriptAutomate

    07/20/2022, 4:03 PM
    First question: - In multi-vault scenarios, is there a flag to add to a vault that will exclude it from any new push git calls from a Workspace Sync, but will still ensure a pull happens? (sort of like how seeds function, I think, where the vault setup isn't meant to push to the repo endpoints but only get the latest updates pulled down)
1...675676677...757Latest