thisdp / dgs

Thisdp's Dx Graphical User Interface System (MTA Dx Lib)
http://wiki.mtasa.com/wiki/dgs
63 stars 34 forks source link

updated new vscode snippets #117

Closed Armisael2k closed 1 year ago

xLive commented 1 year ago

Good job! But we have our own parser https://github.com/thisdp/dgs/blob/37b0a02c3ac7a2f2d0348e872c6b96529ee54ba2/G2DManager_s.lua#L615-L827 The main problem is to ensure the snippets are up-to-date. The drive link was updated using the Lua parser, and I previously had a script that updated the snippets monthly. However, it has stopped working. Since you made a Node.js parser, could you consider setting up a cronjob using GitHub Actions to automatically update the snippets at specific intervals? Otherwise, the snippet will be outdated just like the previous one when new functions are added.

Armisael2k commented 1 year ago

I didn't know about github actions, I will see how to implement it. Thanks.

Armisael2k commented 1 year ago

Done, I've implemented github actions and improved the generated snippets for VSCode