I got caught with my pants down! Not even having a .leo file at the center of my development for this project! Caught by the creator of Leo itself!
Jokes aside, I am honored. This is a great way to start my weekend!
Like I said in the main thread about this project, I pushed a small milestone in the repo a few minutes ago: full leo browsing, headline and body. (still not optimised, debounced, nor editable)
Going forward, I'll take a couple hours to study leoVue a little bit, to maybe make a tcp/ip communication instead of just stdIn/Out...
I also have to study your leoFlexx plugin a bit more to see what else I can gather again from it to make everything easy and smooth! :)
But on the short term, this weekend I'll probably just make the headlines and body text editable, being able to edit the outline structure along with it would be another nice milestone!
I also have monday off (long weekend!) so perhaps I'll reach it!
As a small explanation to start things up & help understanding :
The main mechanic is that I'm using a simple stack of promises to keep track of what's asked of the leoBridge's side of things. The first 'asked' command by vscode interface is pushed on top of this stack, and resolved from the bottom so its first-asked first-served kind-of logic. The set of possible commands that it responds to is limited for now obviously.
I knew nothing of the vscode extension api two weeks ago, so i'm pretty new to all this too!
Please dont hesitate to ask for any clarification whatsoever,
So all right for now, I'm going to bed! Cheers! :D
--
Félix