Hello! Please welcome the newest build of our DataGrip 2019.2 EAP.
Objects from system catalogs in coding assistance
Nearly in every database there is a system catalog – the place where a relational database management system stores schema metadata, such as information about tables and columns, built-in functions, etc.
Objects from these catalogs are needed to provide coding assistance. It’s nice to have them in code completion, and code that uses them should not be red.
Before, the only way to have system catalogs in coding assistance was to add them to the database explorer. So, DataGrip actually retrieved information about them from the database (always the same, by the way!), which took time. Also, they were visible in the database explorer, but that’s not always necessary.
This kind of schemas have the lightning icon in the schema chooser. Now, if you don’t check them, DataGrip will not introspect and show them but will use the information about their objects in coding assistance. To have this possible, DataGrip uses its internal data about system catalogs for each database.
Some examples of system catalogs for several databases:
PostgreSQL: pg_catalog, information_schema
SQL Server: INFORMATION_SCHEMA
Oracle: SYS, SYSTEM
DB2: SYSCAT, SYSFUN, SYSIBM, SYSIBMADM, SYSPROC, SYSPUBLIC, SYSSTAT, SYSTOOLS
A new action is available for the data source or schema, called Force Refresh. It clears the data source information that DataGrip caches, and refreshes it from scratch.
Easily change the results page size
Now, to define how many lines you want to be retrieved from the database, you can do it from the result-set’s toolbar.
Name your results tabs
Another super-cool improvement for results: tab naming! Just use the comment before the query.
If you don’t want any comment to become a tab name, use the Prefix in settings: only words coming after that prefix word will be used as titles.
SQL preview in full-text search
Now you can see which particular statements DataGrip will run to perform a data search.
Fold big numbers
If you want to improve the readability of big numbers, fold them with the shortcut: Ctrl/Cmd+Minus.
That’s all for this new EAP! Stay tuned for the next EAP release coming your way. 2019.2 is going to be cool!
The DataGrip Team