Download
SynsEasy plugin (375.0 KB)
Source plugin roblox | SynsEasy.rbxl (75.9 KB)
A framework is used
Introduction
This plugin allows you to export scripts from roblox studio to any external IDE editor. This project is just made as an example. The project is not an analogue, or competitor to Rojo.
It uses nodejs to work. Nodejs records all changes in the studio scripts, and allows you to do two-way code sniffing.
I hope that it will be useful for someone to develop their own plugins.
Who is this plug-in for?
-For novice plug-in developers only. To see the synchronisation method.
-For those who want to export their scripts to files for some reason
Caution! Do not use this system in your projects. It has not been tested. A file may be lost.
Demonstration of work
The video is in Russian. But you can still see how it works.
Start
Instructions for integration
You must have nodejs installed.
Run the app.js file with the command:
node app.js
In the plug-in, open the Path tab. Specify the directory in which the projects will be exported. This is the common directory. SynsEasy itself creates a separate folder for each place.
Exporting project code Then click Exporting project code. And all scripts will be exported to a separate folder.
Two-way synchronisation Only then can full synchronisation be activated.
Alternative running nodejs
Inside the source code of the nodejs server, there is an app.exe file.
It may get scolded by antivirus.
Compiling exe
To compile an exe file, use this command. You must have a pkg installed.
pkg app.js --targets node12-win-x64
If you remove the attributes, it will compile for linux and mac:
pkg app.js
Features
There is only one interesting feature I would like to highlight.
The plugin itself creates a folder for each project. You don’t need to worry about creating folders or making settings every time you open another project.
A framework for plug-ins
The plug-in interface is based on this framework. SynsEasy is more of a promotion