Reputation: 2725
At my company I'd like to create a standard for the creation of database functions with a comment header, something like:
/*
==================================================
Author: John Doe
Created At: (Automatically fills in current date)
Where used: User fills in URL or whatever
==================================================
*/
Is there a way in data grip to bind this text to a hotkey?
Upvotes: 0
Views: 332
Reputation: 10335
Yes, of course: snippet functionality is called Live Templates.
PS. Play with the variables for the placeholders.
Upvotes: 2