Difference between revisions of "BlueprintScriptingIDE"

From Inkscape Wiki
Jump to navigation Jump to search
(New page: ==Intro== This blueprint describes a really simple "IDE" for javascript coding within Inkscape. ==Proposed workflow== * User selects an SVG element * on the context menu there would be...)
(No difference)

Revision as of 04:49, 29 May 2008

Intro

This blueprint describes a really simple "IDE" for javascript coding within Inkscape.

Proposed workflow

  • User selects an SVG element
  • on the context menu there would be a "hook javascript event"
  • This menu option woul lead to a simple window where the user could select a javascript event type and write the code attached to that event.
  • This would save the code within script tags in the SVG document


We could also have a menu option leading to a scripting editor which would let the user edit all the javascript code that is inside the svg file.

Future Work

While we initially would not need to interpret code (just letting the user edit it would already be a first good step) in the future we could think about ways of running that code for debugging purposes within inkscape.