DataGrip 2017.1 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.

/help/img/idea/2017.1/ScratchesViewExtensionsDBE.png

The Extensions/DataGrip/data/extractors folder contains the scripts that convert table data into CSV, HTML, JSON, SQL INSERTs and XML formats (see e.g. Specifying data output format and options). The Extensions/DataGrip/schema folder contains the scripts that generate a Java entity class for a table (see Generating Java entity classes for tables and views).

Last modified: 27 July 2017