On Monday, January 27, 2020 at 11:25:59 PM UTC-6, Félix wrote:
>
> Hello to all Leo and vsCode users out there! 🦁
>
> I made another release of leoInteg intended this time again for asking all 
> of you to try out and test more features: Full outline and body editing! 
>
> Checkout the welcome screen that lets you change settings, all outline and 
> body editing commands, undo, ... and a lot more, see the readme at the 
> projects home page: https://github.com/boltex/leointeg
>

This is great stuff. It took me awhile to get everything working. Some 
notes:

1. Running npm install gave one severe security error. I was going to 
report it, but I forgot and closed the console. Running npm install again 
now gives only 4 minor warnings.

2. Your installation directions are excellent. It took awhile for me to 
follow them exactly ;-)

*Confusion*

I had considerable trouble with sys.path. After futzing around the 
following worked.

- It appears that the code only uses the PYTHONPATH system var. Setting 
sys.path in other ways does not appear to work.

- I added <path to leo-editor> and <path to websockets> (that is, path to 
site-packages) to PYTHONPATH.

With these paths the extension works. Aha!  `F1 leo settings` reveals the 
Leo Lion. 

*Recommendation*: delete the link "(See *Adding Leo to Your Path* in 
github.com/leo-editor/leo-editor/blob/master/INSTALL.TXT 
<https://github.com/leo-editor/leo-editor/blob/master/INSTALL.TXT#L126>)" 
from the installation notes. It seems to imply that you can avoid setting 
PYTHONPATH, but that does not appear to be so.

I'm still struggling with considerable confusion.  Surely much of this 
confusion is due to not understanding VS Code very well.

1. For example, it's confusing to have two VS Code windows open, one 
labelled "Welcome-leointeg-VS Code" and the other labelled "[Extensions 
Development Host] LEO:Body <node name>". 

2. In the "[Extensions Development Host]" window it's confusing to have 
three top-level "nodes" at the left called "Leo", "Outline" and "Leo 
Outline". Opening the "Outline" pane shows only "The active editor cannot 
provide outline info". No idea what this means, and it doesn't seem to 
matter. Everything else appears to work just fine. For example, the "Leo 
outline" area shows my copy of leoPy.leo, just as it appears in Leo itself, 
complete with clone marks!

Not likely a big deal. If we were cubicle mates I could come up to speed in 
a few minutes...

*Summary*

This is the first time I have gotten leointeg to work. The installation 
instructions and examples at https://github.com/boltex/leointeg are 
excellent.

leointeg is tremendously exciting. VS Code is a huge ecosystem. There is no 
way one person could emulate all the VS Code plugins and features. With 
leointeg fully functional I might actually be tempted to work in VS Code 
instead of Leo...

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/307544e5-ea1b-4be4-8ce8-01842626f4b6%40googlegroups.com.

Reply via email to