Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/plemarquand/trace-expression

An FDT swf-bridge plugin that takes a line of ActionScript code and creates a trace statement that outputs the expanded form of the expression.
https://github.com/plemarquand/trace-expression

Last synced: 3 months ago
JSON representation

An FDT swf-bridge plugin that takes a line of ActionScript code and creates a trace statement that outputs the expanded form of the expression.

Awesome Lists containing this project

README

        

trace-expression
================

An swf-bridge plugin for FDT 5.5 that takes a line of ActionScript code and creates a trace statement that outputs the expanded form of the expression.

This is best illustrated with an example. Take the following expression, which computes the slope of a line:

```actionscript
var y : Number = m * x + b;
```

Running the trace-expression command (using CMD/CTRL + 2 in FDT) produces:

```actionscript
var y : Number = m * x + b;
trace(m,"*",x,"+",b);
```

## Installation

Copy trace-expression.swf from /bin in to ~Library/ApplicationSupport/FDT/swfPlugins on Mac, or . If the folder doesn't exist, create it and copy trace-expression.swf in to it. In Preferences > FDT > Swf Plugins trace-expression should be enabled in the list. You can toggle its avaliability from here.