Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change number format in DataGrip table editor

I'm wondering, why DataGrip not respecting local number format separators, when editing table values.

Here in Germany our decimal separator is a comma, not a dot. And so I can't use my keypad to edit numbers.

Has anyone a idea, how to change number format?

like image 475
Steffen Maucy Avatar asked Mar 23 '17 14:03

Steffen Maucy


People also ask

How can I beautify code in DataGrip?

In the editor, select a code fragment you want to reformat. Before reformatting, you can take a look at the code style settings that are applied to the selected code: press Alt+Enter and click Adjust code style settings. From the main menu, select Code | Reformat Code or press Ctrl+Alt+L .


1 Answers

To anyone who is looking for a solution not to edit but to export data using a specified decimal separator:

You can create a user defined data extractor (e.g. like this example) and use it in DataGrip.

like image 151
Mesa Avatar answered Sep 20 '22 22:09

Mesa