Having a scripts manager/editor
jbcools shared this idea 4 years ago
scripts in ggb add wonderful possibilities, even if sometimes it is still a bit unstable.
To help to structure them, maybe it would be interesting to have some of the following propositions
- a better coloring of scripts (it already helps to see red coloring when a variable is not recognized, thanks for that)
- an option (or a special view -> editor ?) to find in which scripts a variable/object is used (or a script is run)
- not only for the scripts : having a tree of the dependances of objects
Maybe these ideas are a bit too "coding" oriented, but it could be interesting in the future.
Sorry, we don't have any plans for that
For example, the open source Scintilla text-editor component exists for Java as Jintilla on SourceForge.
Is there any license incompatibility between Geogebra and Jintilla ?
I use Notepad++ for years, Scintilla based, it's API is easy to access and very rich.
At least, an additional button in the area above the script editor could a mean to let the user load some code quickly from a file, instead of the usual copy/paste !
Also, I agree with the idea of a "scripts-manager", or plugins-manager.
For example, I often need to apply specific zooms depending on some conditions of the construction state.
And this is not a good thing ! The construction is the construction, additional functional features should be considered as some utility-plugin, and stand in a separate place : some "scripts-manager", or "plugins-manager", standing inside the Geogebra menus.
I had tools of this kind when Jython was still embedded (version 5 beta : 4.7.2 JOGL2), to batch rename objects, make (session)persistent selection groups ... but Jython was a bit heavy (slow) ...
Same for any tool that could be useful to the user : utility scripts handled inside a "plugins-manager" from menus, PLEASE !
Comments have been locked on this page!