Skip to content

ant-druha/AppleScript-IDEA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to AppleScript in IDEA

This plugin, provides support for writing and executing scripts with an AppleScript language in IntelliJ-base IDEs.

Working with scriptable applications

  • Use predefined Live Templates: “tellap”, “useapp” and create your own:

"tellap" live templete installed applications completion

  • Use Intention Action for creating application dictionary if the application was not found:

add_dictionary.png

Choose either the application bundle or application dictionary file if the application is not installed but it’s dictionary file is available (xml or sdef extensions):

choose_dictionary.png The action is also available via File menu (File | Load Dictionary).

For example, you can choose dictionary file to load when working on Windows or Linux. Running scripts will not be possible but intellisense will work:

browse_doc.png

run.png

Use other IntelliJ IDEA features while working with code:

dark_preview.png

There are still some fixes TODO:

  • parser tuning, including case-insensitivity
  • resolve for some cases with different visibility scopes in scripts
  • auto-formatting of generated dictionary file
  • code generate action for common constructs (user handlers, OS interaction scenarios, other statements)
  • your reports and suggestions

Download