mihaiconstantin
03/22/2022, 1:41 PMkevins8
03/22/2022, 3:11 PMdendron.code-workspace
file and dendron.yml
file
- native workspace only has a dendron.yml
file
reason:
we started off with only code workspaces but got feedback that users wanted to use dendron within *existing vscode workspaces. we therefore introduced native workspaces - as long as dendron discovers a dendron.yml
file in one of the folders that is managed by your current workspace, it will load it as a native workspace.
> Well, if I just add to my VSCode workspace the path to the Dendron workspace (i.e., "path": "path/to/my/dendron/notes") then open a Dendron note and reload the window, Dendron gets activated and the look-up bar works.
@User this is the intended behaviormihaiconstantin
03/22/2022, 3:18 PMdendron.code-workspace
will be managed by dendron.yml
? Or will they have to instead be placed in a .vscode/settings.json
corresponding to each vault? I am referring to settings like "pasteImage.path": "${currentFileDir}/assets/images"
or "dendron.rootDir": "."
. I just tried moving, for example, "dendron.rootDir": "."
to a vault's .vscode/settings.json
and it didn't work.kevins8
03/22/2022, 3:20 PMdendron.code-workspace
wouldn't apply if you open them up in a different vscode workspace. you would need to copy those settings into the parent workspacemihaiconstantin
03/22/2022, 3:22 PMkevins8
03/22/2022, 3:26 PMxg
03/22/2022, 3:38 PMdendron.yml
so that I can have it in a .dendron
folder inside my "vault"? And also have all the files that dendron needs be created inside .dendron
? I tried doing this and tried setting vaults: -> - fsPath: ../
but it didnt work 😁kevins8
03/22/2022, 3:43 PMdendron.yml
to be at the top level when used by itself. is this an important part of your workflow?xg
03/22/2022, 3:48 PMdependencies
)?kevins8
03/22/2022, 4:10 PM- vault/
- lots of files...
self contained vaults
- my-vault/
- README.md
- dendron.yml
- notes/
- lots of files...
- dependencies/
- other vaults...
the idea is that you can share my-vault
and you have everything you need to access notes, even when they are spread across multiple vaultsname
property and you can link to a vault by name. see https://wiki.dendron.so/notes/3472226a-ff3c-432d-bf5d-10926f39f6c2.html#cross-vault-linksxg
03/22/2022, 4:28 PM- folder A
- dendron.yml
- folder B/
- lots of note files ...
- folder C/
- lots of note files ...
self contained vaults:
- folder A/
- README.md
- dendron.yml
- folder B/
- lots of note files...
- dependencies/
- folder N
- lots of note files ...
How is the situation different with regard to "i want to share my notes as a github repo but currently since the vaults is a flat folder of thousands of files, this is unwiedly"kevins8
03/22/2022, 4:44 PMfolder A
is a workspace. we currently recommend that you version workspaces and vaults separately. so users would need to share a workspace which then pulls down a vault (which is a different repo)
after self contained vaults, folder A
would be a vault. you can version just the vault and collaborators would only need to pull down that to access all functionalityxg
03/22/2022, 4:47 PMmihaiconstantin
03/23/2022, 6:55 AM