DataGrip 2016.2 Help

Extending the DataGrip functionality

You can extend the DataGrip functionality by writing scripts in Groovy, Clojure and JavaScript.

Example scripts

The DataGrip distribution includes example extension scripts which you can access using the Scratches view of the Files tool window.


The extractors folder contain the scripts that convert table data into CSV, HTML table and JSON formats. The schema folder contains a script that generates a Java entity class for a table.

The API documentation

The scripts can access the DataGrip open API.

The API documentation is available as an archive that contains the API Java source code. The archive file ( is located in <DataGrip_installation_dir>/lib/src.

Last modified: 25 November 2016