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.

VScode extension (WIP)
#1
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 Smile

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.
[Image: lfefHSW.gif]

Screenshot of the current extension menu:
[Image: xemOjnQ.png]

any thoughts or ideas?
Reply
#2
(5 hours ago)Seijboldt Wrote: 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 Smile

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.
[Image: lfefHSW.gif]

Screenshot of the current extension menu:
[Image: xemOjnQ.png]

any thoughts or ideas?

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.
Reply
#3
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 Smile
Beta testers would be nice, this is currently pre-alpha in my mind.
Reply


Forum Jump: