This release brings a couple of handy new commands, originally suggested by Edward and added to LeoJS a few weeks ago. With the recent release of Leo 6.8.5, it's now possible to support them fully in LeoInteg — so here we are!
Go to Line in Leo Outline – Available from any Editor context menu other than a body pane. If the file isn't already in the outline, you'll be prompted to import it.
Import into Leo Outline – Available from both Editor and Explorer context menus for files in VSCode's workspace.
Also, g.es will now automatically show the log pane when running user scripts or @button actions — making it easier to see what's going on.
You can get this update via auto-update, or download it directly from the VSCode Marketplace and the Open VSX Registry Marketplace for VSCodium!
If you have any comments, encounter any issues, or have suggestions for future updates, please don't hesitate to share them on the GitHub Issues page.
A heartfelt thanks to everyone who’s taken the time to contribute ideas or feedback! It makes all the difference. 🦁
Félix
New Commands in LeoInteg 1.0.24 🧰🛠️This release brings a couple of handy new commands, originally suggested by Edward and added to LeoJS a few weeks ago. With the recent release of Leo 6.8.5, it's now possible to support them fully in LeoInteg — so here we are!
You can get this update via auto-update
, or download it directly from the VSCode Marketplace and the Open VSX Registry Marketplace for VSCodium!
If you have any comments, encounter any issues, or have suggestions for future updates, please don't hesitate to share them on the GitHub Issues page
I have tried to install / upgrade LeoInteg to this version in a Fedora 41 VM.I have upgraded Leo to version 6.8.5 - and - installed 'websockets' version 15.0.1 !When I start VS Codium with the upgraded extension I receive the following error msg:<Log>Launching server with command: python3 /home/user/.local/lib/python3.12/site-packages/leo/core/leoserver.py --port 32125
Starting LeoBridge Server 1.0.11 (Launch with -h for help)
LeoServer: init leoBridge in 1.7 sec.
###
Error - Cannot start server: Leo server exited with code 1
</Log>Since I knew this setup was running in the past in a similar environment on my side I searched a bit on the Internet & found out that the asyncio implementation in websockets has been rewritten [1 & 2].Could it be that LeoInteg version 1.0.24 does not work with websockets version 15 anymore - and - requires what is now called 'websockets.legacy' ?
--
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 leo-editor+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/leo-editor/CAAeSrGJH42D29GShHgdN6yGeLNS8sNMeBeKt1ADTP9t-FgE%3DrQ%40mail.gmail.com.
Thanks to Viktor and Thomas, a fix is ready ! (They provided a totally compatible legacy interface API, so the fix was relatively easy!)
How can the vsc settings be arranged to launch LeoInteg from a virtual environment? The details will probably be different for Linux vs Windows.
Thanks for your patience about this issue. I've started working on it now and propose a solution here after learning more about python venv.
https://github.com/boltex/leointeg/issues/299#issuecomment-3066468352