In this tutorial I will show you how to view and edit trigger comment with DataGrip tool.
There is only one way to do this.
Open Database from View -> Tool Windows or push Alt + 1 key shotcut.
Fig. 1. Database in toolbar
Now in opened explorer expand [your database] -> [your schema] -> tables -> [your table] branches and look for table triggers - elements with blue thunder icon.
Fig. 2. Triggers in database explorer in DataGrip
You can comment trigger by right click on it and from context menu select Database Tools -> Modify Comment… option.
Fig. 3. Modify comment in trigger context menu
In new opened small window put your comment and click OK to commit changes in database.
Fig. 4. Trigger comment edit window