Fork me on GitHub Fork me on GitHub


IDE support for IntelliJ IDEA - Ultimate


Jaggery Syntax highlighting plugin enables IntelliJ IDEA IDE to assist development in Jaggery. It provides syntax highlighting and code completion for Jaggery, JavaScript and HTML so far. it provides code formatting for HTML. So developer can develop a .jag file conveniently in lesser amount of time with the assistance given by IDE.


  1. Download IntelliJ IDEA if you haven't done so far.(Make sure you download the ultimate edition).
  2. IDE support(IntelliJ IDEA- Ultimate)
  3. Download the plugin.
  4. Go to File --> settings.
  5. Choose plugins under IDE settings.
  6. Click install plugin from disk.
  7. Choose the plugin and click ok.
  8. Restart the IDE.

Open file and edit the content

  1. Open your project.

  2. Right click on the directory that you need to have your .jag file in.
  3. Go to New --> File.
  4. Enter the name with the .jag extension.

  5. Click ok.
  6. You will notice that new file is created with .jag extension. And JaggeryLibrary is added to External Libraries.

  7. Enter the content as you wish. Entering of HTML content is shown with the javascript support.

  8. Edit the Jaggery content out of the HTML tags.

  9. Create object and access its operations.

  10. Show parameter types when creating an operation.

IDE support for WSO2 Developer Studio

Please refer to WSO2 Developer Studio Documentation on how to create and modify Jaggery projects and files