![]() |
|
VScode extension (WIP) - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: VScode extension (WIP) (/showthread.php?tid=6331) |
VScode extension (WIP) - Seijboldt - 04.03.2026 Hi! Internally we have developed some custom tooling for our projects, among them is one that we are releasing this week for the old visu that allows some quick editing and such: https://forum.logicmachine.net/showthread.php?tid=6330 But this one is a lot more scripting related so I'm posting it here, admin feel free to move it if its in the wrong area? Managing several LM/SL through web browser with copying and pasting from VScode had become such a hazzle and a lot of projects ended up being misaligned with the codebase due to changes done on device and in VScode separately. To combat this we have created a VScode extension that allows two way sync with LM/SL of all scripting functions, featurelist is currently: -support for multiple projects with github sync, local hashed and salted auth is not synced between sessions. -sync all (first time sync only downloads from LM/SL, second time does a diff) -sync when saving, if you save in VScode it syncs directly to the LM (changes on LM requires manual syncing in VScode as its not automatic that way) -run script (both scheduled and event script) -error log with filtering -log log with filtering -read/write specific objects (this is very basic and work in progress at this time) We are improving this extension as we go and I'm unsure of when we would release it, it all highly depends on demand if I can be bothered or not ![]() Here is a really rushed recording of me trying to squeese a gif under the max limit and in a tiiiiny window: -Note the browser doesn't need to be open or used in any way, this runs directly from VScode, browser used as demo of sync and run. ![]() Screenshot of the current extension menu: ![]() any thoughts or ideas? RE: VScode extension (WIP) - AEK - 04.03.2026 (6 hours ago)Seijboldt Wrote: Hi! It's fantastic! 1 question - if I will edit resident script, can I restart it from VS code? or only throu web? If you need beta testers - I'm interested in it. RE: VScode extension (WIP) - Seijboldt - 04.03.2026 I haven't actually added support for resident script running yet, I'll add it to my featurelist! Current support for running is scheduled and event. logging works for all scripts, nice feature is the log is actually further back than the LM/SL log window in the script view ![]() Beta testers would be nice, this is currently pre-alpha in my mind. |