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

    sifb

    11/27/2021, 8:36 PM
    is there a way to pull the matched node text up into the edit box, so I can just "add to the end of that one"?
  • b

    Bassmann

    11/27/2021, 8:45 PM
    I don't think so AFAIK it's a vscode limitation
  • s

    sifb

    11/27/2021, 8:49 PM
    OK; feels like I'm going against the grain with it somehow
  • s

    SeriousBug

    11/27/2021, 8:59 PM
    You could hit enter to open the note then use lookup again, then you'd have the full name in the lookup bar. But otherwise yes, this is a limitation with VSCode right now
  • s

    sifb

    11/27/2021, 9:06 PM
    That's a good enough way, thanks šŸ™‚
  • k

    kimsia

    11/28/2021, 1:31 AM
    I’m like you but for now I use the same method as @SeriousBug
  • j

    jorisjh

    11/28/2021, 2:16 PM
    Is there an easy way to bulk refactor vaults? I started out separating different areas into vaults which I now realize would work better as hierarchies. Planning to merge them, but would like to prefix the origin with a hierarchy when doing so. Any ideas?
  • b

    benhsm | Jack of N trades

    11/28/2021, 2:29 PM
    I'd imagine there's a better solution than what I'm suggesting here, but if you have relatively few hierarchy roots in each vault, I think something like the following would work: Per vault to be merged- 1. Refactor each hierarchy in vault to be merged from
    <domain>.[...]
    to
    <vault-name>.<domain>.[...]
    . (the refactor command uses regular expressions) 2. Move all notes from
    <vault-name>
    into the main vault
  • j

    jorisjh

    11/28/2021, 2:42 PM
    oh thanks, that's a good idea, it seems the refactor allows regex when doing the lookup, but not allow the captured groups to be used in the result. Which makes it harder to just match everything and prepend something. So I think a bit more manual refactoring is the way to go and then yeah moving them over to the new vault.
  • b

    benhsm | Jack of N trades

    11/28/2021, 2:44 PM
    yeah, might be a good feature request maybe, ability to use captured groups from the refactor match text in the replace prefix
  • h

    hikchoi

    11/28/2021, 2:56 PM
    @User @User There is a pending PR for exactly this šŸ™‚ https://github.com/dendronhq/dendron/pull/1796 I just need to do some clean up and testing. It doesn't let you scope notes to a specific vault yet, but that will be the next enhancement I will be working on for the refactor command.
  • b

    Bassmann

    11/28/2021, 3:27 PM
    You could always run these commands outside Dendron using sed or whatever and move the resulting notes into the main vault. If you follow this route you want to call Dendron: Doctor afterwards to fix front matter
  • b

    benhsm | Jack of N trades

    11/28/2021, 4:09 PM
    I think you'd end up with broken links this way though
  • b

    benhsm | Jack of N trades

    11/28/2021, 4:09 PM
    if you use them
  • j

    jorisjh

    11/28/2021, 4:30 PM
    Something else, is it correct that journal notes only get created one level of hierarchy max? so triggering a journal note from x.y will try to create x.journal.year.month.day instead of x.y.journal.year.month.day ?
  • j

    jorisjh

    11/28/2021, 4:31 PM
    Or did I mess something up in a my new merged vault šŸ˜‚
  • b

    Bassmann

    11/28/2021, 4:38 PM
    You may need to play with the
    addBehaviour
    setting. I haven't tried (being on mobile atm) but according to https://wiki.dendron.so/notes/5c213aa6-e4ba-49e8-85c5-1bdcb33ce202/#daily-journal I would try setting it to
    childofDomainNamespace
  • j

    jorisjh

    11/28/2021, 4:43 PM
    awesome, that's it! for me
    childOfCurrent
    was what I was looking for, for example for meeting notes in an area, so
    specific-work-area.meet.journal.year.month.day.title-meeting
  • s

    sifb

    11/28/2021, 7:12 PM
    There are commands
    Dendron: delete node
    and `Dendron: rename note`; is there a distinction between node and note here?
  • k

    kevins8

    11/29/2021, 1:17 AM
    delete node can work over both notes and schemas
  • s

    sifb

    11/29/2021, 1:22 AM
    ahh ok; I have only briefly seen schemas in the Amoeba pattern video, I will find out why they have nodes another time
  • n

    NZ-John

    11/29/2021, 3:13 AM
    is there a way I can convert an existing page into a Task/Todo page?
  • f

    foureyedsoul

    11/29/2021, 4:55 AM
    I had the same question a while back! As far as I know, any note/page becomes a Task/Todo page as soon as you add any of the Task/Todo fields to the YAML header. https://discord.com/channels/717965437182410783/903890505362993202/904071812223229952
  • i

    imgl

    11/29/2021, 8:31 AM
    I assume that's something that's very far off or maybe even impossible, but I wondered if you ever thought about a feature that allows embedding and executing code inside of notes (like in Emacs org mode)
  • b

    benhsm | Jack of N trades

    11/29/2021, 10:49 AM
    it isn't quite the same thing, but the VScode Vim plugin has support for the filter command - does that fit the use case you have in mind?
  • p

    pixelmonk

    11/29/2021, 12:01 PM
    is lookup via glob very... finicky for anybody else? for example, if I type
    journals.*.2021.11.29
    just straight in the lookup, it matches nothing. if I type
    journals..2021.11.29
    and then insert a
    *
    inside the empty dots after some matches have already appeared, it'll seem to match some things. if I begin typing again after that, all the matches will disappear. anyone else getting this?
  • c

    codeluggage

    11/29/2021, 1:27 PM
    I haven't seen anything like this yet, but there is a less embedded way that can happen in the "preview" mode. For VSCode this type of thing has generally fallen under the umbrella term of "notebooks", the most common of which being Jupyter Notebooks, as I understand it.
  • c

    Chairos

    11/29/2021, 1:46 PM
    Hello everyone, probably stupid question here but I can't seem to find the Dendron: Site Build command as suggested here: https://wiki.dendron.so/notes/230d0ccf-5758-4a8f-b39b-3b68e1482e2b/ How should I go about it?
  • k

    kevins8

    11/29/2021, 4:35 PM
    yep, this is true. we'll also add commands in the future to automatically fill in the frontmatter
  • k

    kevins8

    11/29/2021, 4:36 PM
    its possible and maybe not as far off as you might think. no comments on timeline yet but that's all i say for now šŸ™‚
1...459460461...757Latest