This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

[Release] VScode extension for LM/SL
#1
The VS Code extension I showed a while back is finally available after several rounds of beta testing.
What originally started as a way to stop copy-pasting scripts between VS Code, Git and LogicMachine gradually turned into a complete development workflow for LM and SL devices.
Current public functionality includes:
  • Sync scripts between device and VS CodeDiff viewer for local vs device changes Auto-upload on saveRun scripts directly from VS Code Enable/disable scriptsCreate, edit and delete scripts Live logs and error monitoring Multi-device support Object browser with live updates Storage viewer and Support for Cloudflare Access and reverse-proxied deployments

Get the extension here and read the quickstart before you ask how it works.


A few gifs and screenshots:
[Image: lfefHSW.gif]

Screenshot of the extension menu in command palette:
[Image: xemOjnQ.png]

We have added a live-object view with rapid toggle booleans and write analog values using the built in websocket from the LM/SL.
This shows on-change highlighting, filtering, sorting alphabetical or by most recent change, etc.

[Image: 701NXtT.png]

Enhanced and refined the diff view when syncing from device:
[Image: qs70my0.png]

If the storage viewer app is installed on the LM/SL object storage is also viewable:
[Image: TWoKIwI.png]

The extension is actively developed, so if you run into issues or have feature requests, post them here and I'll take a look.
Thanks to everyone who provided feedback and helped identify edge cases during development.
Reply


Forum Jump: