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

10 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?

1
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
Comment actions Permalink

I know this is an old post, but if you are looking for an updated library go to https://github.com/arajcany/ExtendScriptAutoCompleteForJetBrainsIDEs

I was using the ybm-estk-lib.zip posted by William for a few year but decided to create an updated library, seeing as ybm-estk-lib.zip was a few years out of date.

Hopefully this helps someone.

0
Comment actions Permalink

Arajcany are those libraries intended to work with Adobe After Effects object model as well ? 
cheers and thank you for sharing

0
Comment actions Permalink

Petar Jevtic 991 I installed After Effects and tried to look for the OMV. Can't find it anywhere on my computer. If you know the location of the OMV file, send it to me and I will try to build the class definitions. I have updated the GitHub library to include Photoshop, Illustrator and Bridge.

There was this project for Sublime, https://github.com/aenhancers/Types-for-Adobe so the OMV must exist somewhere...

 

0

Please sign in to leave a comment.