Adobe ExtendScript

Hello,
can I use WebStorm as IDE for Adobe ExtendScript (scripting Adobe applications - InDesign, Photoshop…).
„Use as IDE“ i think basically:
1) write and run scripts and use autocomplete feature
2) debuging

At least 1st point is necessary for me and second is optional.

Thank you.

+ferben

7 comments
Comment actions Permalink

Hello!


WebStorm doesn't provide any special support for Adobe ExtenScript. But, as this is just a JavaScript + some standard libraries + some extensions (like preprocessor directives), it should be possible to use WebStorm for editing it
For preprocessor directives handling please see this thread: http://devnet.jetbrains.com/message/5476040

0
Comment actions Permalink

of course, you have to register .jsx files as javascript in Settings/File Types

0
Comment actions Permalink

…and how to setup WebStorm to use InDesign's „some standard libraries“ for enable autocomplete function?

0
Comment actions Permalink

If you have .js files with InDesign objects defined, you can configure them as custom libraries in Settings/JavaScript/Libraries

0
Comment actions Permalink

No, I haven't. I have only omv$indesign*.xml with InDesign objects description, but nothing in JavaScript format.

0
Comment actions Permalink

Well, then I can only suggest converting XML to javascript objects - there are plenty of tools i
n the web that are capable of doing this...


0
Comment actions Permalink

There's a nice library parsing Linux package for autocomplete that can be found at https://github.com/yearbook/extendscript-api-documentation
It does require NodeJS (non-pre) and access to the XML files generated by ExtendScript.
Steps on how to register the library files within WebStorm Autocompletion can also be found there.
I attached the pre-compiled libraries found at http://yearbook.github.io/esdocs/ybm-estk-lib.zip (the link in the github readme is incorrect) to this post so the link doesn't go dead since.



Attachment(s):
ybm-estk-lib.zip
0

Please sign in to leave a comment.