kevins8
09/16/2020, 3:46 PMarea
in the PARA systemkevins8
09/16/2020, 3:46 PMkevins8
09/16/2020, 3:46 PM$.
is shorthand for querying properties in the frontmatteruser
09/16/2020, 4:12 PMkevins8
09/16/2020, 4:20 PMjojanaho
09/16/2020, 6:33 PMkevins8
09/17/2020, 2:39 PM.
and folder
based hierarchies concurrently for at least some period of time
- i've been part of many a software migration and they always take longer and are more complicated than initially thought
- we're planning on doing the lsp migration in october and i don't want to change two major components at the same time (some call it an opportunity but they usually turn out to be quagmires)
- migrating to folders will affect all components in dendron including third party extensions; this will take time and is best done one at a time. instead of doing it all at once, we can migrate components one by one.
3. we can have a configurable toggle 'dendron.folderSupport` and set it off by defaultimalightbulb
09/17/2020, 3:22 PMfolders
in the same vault?kevins8
09/17/2020, 3:38 PMjojanaho
09/17/2020, 4:47 PMjojanaho
09/17/2020, 4:50 PMkevins8
09/18/2020, 1:17 AM@dendronhq/lsp-server
package
- create interface btw lsp -> engine
- implement a basic new feature using lsp (eg. hover preview of link) and delegate to lsp
- route basic old feature to lsp (eg. go to definition from markdown-notes)
- everything elsejojanaho
09/18/2020, 5:51 AMkevins8
09/18/2020, 2:30 PMkevins8
09/25/2020, 8:45 PMsync
feature I was talking about). it will also make it relatively straightforward for any other extension to integrate: instead of having to use a language server client, they can query the server using a traditional REST client. what's nice with this model is that this architecture also migrates well into any standalone/cloud hosted versions of dendron we might pursue in the future.jojanaho
09/25/2020, 8:48 PMjojanaho
09/25/2020, 8:49 PMkevins8
09/25/2020, 8:50 PMjojanaho
09/25/2020, 8:53 PMjojanaho
09/25/2020, 8:54 PMkevins8
09/25/2020, 8:59 PMjojanaho
09/25/2020, 9:21 PMsendRequest
method with flexible params. I think catching these messages should be pretty similar as catching HTTP requests from express (although express is certainly much better documented). IIRC, there was a similar handler on the LSP server side. AFAIK the process of debugging an express-server or lsp-server should be the same (add breakpoint to the server side, initiate from the client as long as the attachment has happened properly). I'd guess that the delegation from extension to lsp to express might be problematic to debug, or at least to establish properly.
Anyway, your project and your call how to do it in the end 🙂kevins8
09/25/2020, 9:52 PMexpress
helps on both aspects which is why i'm heavily biased in that direction 😅
that being said, if this becomes untenable or too much of a kludge, the actual logic for delegating api calls to the engine and sending json responses is the same both ways so it shouldn't be a one way doorkevins8
09/25/2020, 9:52 PMkevins8
09/25/2020, 9:54 PMkevins8
09/25/2020, 9:56 PMriccardo
09/28/2020, 11:27 AMkevins8
09/28/2020, 4:48 PMjojanaho
09/28/2020, 9:47 PMbrimwats
10/01/2020, 4:33 AM