Hi Edward,
This conversation is very valuable because I want to make the experience of installing and using LeoInteg easy and straightforward for all long-time (or not) users of Leo, irrespective of their familiarity with vscode. So thanks for putting out your very own thoughts as you experience the process of trying out this extension still in development!
Because of my professional deformation for using vscode/sublime daily for the last 7 years or so, I'm having a hard time presenting the installation and usage methods to people unfamiliar with vscode in a clear and concise way.
That is to be expected I guess :)
Although most of this will be irrelevant once I deem the project advanced enough to be compiled and distributed as an actual vscode extension (installed and ran seamlessly via the extension/market panel) It's still very much important because I also have to fine-tune what I show in the leoInteg panels, and in the readme, etc.
Which brings me to what I think is the subtlety that make the whole process of 'testing a vscode extension still in development' a bit confusing: you're not running nor debugging my extension : you're running the whole of vscode's source itself (the second vscode window that opens when you press F5) with leoInteg in it, as if it was installed as a real extension.
To help in clarifying all of this, I'm currently working on
https://github.com/boltex/leointeg/issues/44 , so this is changing the appearance of the interface and, hopefully, going to help a lot in the startup, and automation of the server startup and the connection to it, so I'll make video captures right after I'm done with this. Hopefully before the week end. (I'm open to doing zoom sessions: as soon as I finish those changes on the interface)
But in the meantime, I'll address the numbered points you raised :
Point 1: yes, I meant the folder itself as such via the right-click context menu (once vscode is installed with defaults behavior on windows) see this screenshot:
Point 2: addressed above, when pressing F5, you're running/debugging the whole of vscode, with the addition of leoInteg installed and running in it, as an extension. It's the normal way to try an extension that's still in development.
Point 3: (see pic below for nomenclature) leoInteg adds a (stand-alone) view in the side bar, accessible via the 'lion' icon in the activity bar. It's also 'reflected' (a "clone" in Leo's parlance if you will) by default in the explorer view of the side bar. (both the folder explorer and leo's outline rarely need to take the whole vertical space, and its nice to see them at the same time, that why I added a reflection of Leo's outline in vscode's explorer view)
Point 4: you're right, and that's why i intend on making a small video by capturing myself installing and running the whole thing in a straightforward and unambiguous way.
As it is now, upon activating, leoInteg will try to start the leobridgeserver.py python script itself, and connect to it on localhost. I'm currently changing this to not doing none of those 2 things and instead offer 2 buttons in the outline pane, with a mention that those can be automated in the option settings.
So that's it for now i guess, i'll go grab a coffee and finish those last points that will clear things up a lot... I'm pretty confident about it... :)
In the meantime here's a vscode pro tip: ctrl+shift+p is the most useful command: it opens the command palette that lazy -searches to run any command, (equivalent to the minibuffer in leo? i think so)
I'll give some more updates and details later - thanks again for trying and reporting ! !
Félix