A plugin to help with ExtendScript development workflow. It's really basic but it might be helpful. Feel free to contribute!
Use ⌘+⇧+P
and chose between the options.
- ExtendScript: Build for After Effects
- ExtendScript: Build for Photoshop
- ExtendScript: Build for Illustrator
- ExtendScript: Build for InDesign
#include
statements are useful when developping but not as much when you want to ship a single .jsx file. This will replace #include
line with the actual code.
Look at ExtendScript.sublime-settings if you want to turn this off.
You'll probably want to have a debug variable or property somewhere to help you test your code with the ExtendScript Toolkit. You may also want it turned off when testing it from within your application UI.
The preferred method of installation is via Sublime Package Control.
- Install Sublime Package Control
- From inside Sublime Text 2, open Package Control's Command Pallet:
Ctrl
+Shift
+P
(Windows, Linux) or⌘
+⇧
+P
on Mac. - Type
install package
and hit Return. A list of available packages will be displayed. - Type
ExtendScript
and hit Return. The package will be downloaded to the appropriate directory. - Restart Sublime Text 2 to complete installation.
- Download or clone this repository to a directory
ExtendScript
in the Sublime Text 2 Packages directory for your platform:- Mac:
git clone https://github.com/seblavoie/sublime-extendscript.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/ExtendScript
- Windows:
git clone https://github.com/seblavoie/sublime-extendscript.git %APPDATA%\Sublime/ Text/ 2/\ExtendScript
- Linux:
git clone https://github.com/seblavoie/sublime-extendscript.git ~/.Sublime\ Text\ 2/Packages/ExtendScript
- Mac:
- Restart Sublime Text 2 to complete installation.
- Add automatic software detection using
#target
. - Add AppleScript to open and run the script from the ExtendScript Toolkit.
- Add CoffeeScript support.
Thanks to @ZombieHippie for his shot at turning my previous shell build system into a real Sublime Text python plugin.