Difference between revisions of "BlueprintScriptingIDE"

From Inkscape Wiki
Jump to navigation Jump to search
(categorize)
 
Line 16: Line 16:


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.
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.
[[Category:Proposals]]

Latest revision as of 00:00, 7 March 2011

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 would 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.